Package controller

Class EntityController

All Implemented Interfaces:
Serializable, Cloneable, Iterable<IEntity>, Collection<IEntity>, Set<IEntity>

public class EntityController extends AbstractController<IEntity>
Keeps a set of entities and calls their update method every frame.
See Also:
  • Constructor Details

    • EntityController

      public EntityController()
  • Method Details

    • update

      public void update()
      Removes deletable entities and calls the update and draw method for every registered entity.
      Specified by:
      update in class AbstractController<IEntity>