Package controller

Class AbstractController<T extends DungeonElement>

Type Parameters:
T - Type of elements to manage.
All Implemented Interfaces:
Serializable, Cloneable, Iterable<T>, Collection<T>, Set<T>
Direct Known Subclasses:
EntityController, HUDController

public abstract class AbstractController<T extends DungeonElement> extends LinkedHashSet<T> implements Iterable<T>
A controller manages elements of a certain type and is based on a layer system.

Layer system means: All elements are listed in ascending order according to the layers in this controller and in the order they are arranged in the layer.

See Also: