Entity Installing component-install entity/entity API Entity() Entity.add() Entity.remove() Entity.has() Entity() Entity class. Entity.add(c:Object) Adds a component to our components. Entity.remove(c:Object) Removes component c and all of its components. Entity.has(c:Object) Checks if it has component c. License MIT