Class Zelle

java.lang.Object
  
 class Zelle
extends Object


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

Field Detail

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
Constructor Detail

Zelle

public Zelle(int x,
             int y)
Zelle Constructor Offensichtlicherweise der Konstruktor von Zelle

Method Detail

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