Class Zelle
java.lang.Object
class Zelle
- extends Object
Constructor Summary |
Zelle(int x,
int y)
Zelle Constructor
Offensichtlicherweise der Konstruktor von Zelle |
Methods inherited from class |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
besetzt
protected boolean besetzt
betretbar
protected boolean betretbar
entityobjekt
protected Entity entityobjekt
hasText
protected boolean hasText
pixelx
protected int pixelx
pixely
protected int pixely
x
protected int x
y
protected int y
Zelle
public Zelle(int x,
int y)
- Zelle Constructor
Offensichtlicherweise der Konstruktor von Zelle
addEntity
public void addEntity(Entity entityobjekt,
Spiel spiel)
- Method addEntity
fügt ein Entity-Objekt hinzu
gibEntity
public Entity gibEntity()
removeEntity
public void removeEntity(boolean forever)
- Method removeEntity
löscht das Entity-Objekt aus der Zelle