Package controller
Class EntityController
- All Implemented Interfaces:
Iterable<DungeonElement>
A class to manage
DungeonElement
s.
On each DungeonElement
the update and draw method be are called.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Updates all elements that are registered at this controller, removes deletable elements and calls the update and draw method for every registered element.Methods inherited from class controller.AbstractController
add, add, addAll, addAll, clear, clearLayer, contains, forEach, isEmpty, iterator, remove, size, toString, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
spliterator
-
Constructor Details
-
EntityController
-
-
Method Details
-
process
Updates all elements that are registered at this controller, removes deletable elements and calls the update and draw method for every registered element.- Specified by:
process
in classAbstractController<DungeonElement>
-