Exemple #1
0
 public GameObject(eTag tag, string path, float posX, float posY)
 {
     this.tag  = tag;
     this.path = path;
     x         = posX;
     y         = posY;
 }
Exemple #2
0
 public Player(GameManager gm, eTag tag, string path, float posX, float posY) :
     base(tag, path, posX, posY)
 {
     this.gm = gm;
     posX    = posX * gm.TILE_SIZE;
     posY    = posY * gm.TILE_SIZE;
 }
Exemple #3
0
 public void setTag(eTag tag)
 {
     this.tag = tag;
 }