Uses of Class
com.xebisco.yield.Entity2D
Packages that use Entity2D
-
Uses of Entity2D in com.xebisco.yield
Methods in com.xebisco.yield that return Entity2DModifier and TypeMethodDescriptionComponentBehavior.entity()Returns the entity this behavior is attached to.Entity2DContainer.instantiate(Entity2DPrefab prefab) This function instantiates a 2D entity using a prefab and returns it.Entity2DContainer.instantiate(Entity2DPrefab prefab, EntityStarter entityStarter) This function instantiates aEntity2Dusing a prefab and its components, sets its tags and parent, adds it to a list of entities, and starts it.Entity2D.setRenderIndex(int renderIndex) Sets the renderIndex of this entity.Entity2D.setVisible(boolean visible) Sets the visibility of this entity.Methods in com.xebisco.yield that return types with arguments of type Entity2DModifier and TypeMethodDescriptionEntity2DContainer.entities()Returns the list of entities in the container.Entity2DContainer.toAddEntities()Returns the set of entities to be added to the container.Entity2DContainer.toRemoveEntities()Returns the set of entities to be removed from the container.Methods in com.xebisco.yield with parameters of type Entity2DModifier and TypeMethodDescriptionbooleanRemoves the specified entity from the container and adds it to the list of entities to be removed.Sets the entity this behavior is attached to.voidThe functionstart(Entity2D e)is a method that takes an object of typeEntity2Das a parameter.Method parameters in com.xebisco.yield with type arguments of type Entity2DModifier and TypeMethodDescriptionEntity2DContainer.setEntities(List<Entity2D> entities) Sets the list of entities in the container.