|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.b3dgs.lionengine.game.Handler<Type>
Type
- type used.public class Handler<Type>
Designed to handle a type, by updating and rendering it.
Field Summary | |
---|---|
protected java.util.Set<Type> |
elements
List of elements handled. |
Constructor Summary | |
---|---|
Handler()
Create new handler. |
Method Summary | |
---|---|
void |
add(Type element)
Add an element to the handler list. |
java.util.Set<Type> |
list()
Get list reference of handled elements. |
int |
size()
Get number of elements handled. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.util.Set<Type> elements
Constructor Detail |
---|
public Handler()
Method Detail |
---|
public void add(Type element)
element
- element to add.public int size()
public java.util.Set<Type> list()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |