Exemplo n.º 1
0
 protected GameObject(string nImgLoc)
 {
     thisID = id++;
     name = "GameObject-" + thisID;
     description = "A thing.";
     graphic = new Sprite(nImgLoc);
 }
Exemplo n.º 2
0
 public WanderState(Zombie aZombie, Player nPlayer)
     : base(aZombie, nPlayer)
 {
     graphic = new Sprite("zombie_wander_bmp");
 }
Exemplo n.º 3
0
 public Terrain(string imgLoc)
 {
     graphic = new Sprite(imgLoc);
 }
Exemplo n.º 4
0
 public HuntState(Zombie aZombie, Player nPlayer)
     : base(aZombie, nPlayer)
 {
     graphic = new Sprite("zombie_hunt_bmp");
 }
Exemplo n.º 5
0
 public Terrain()
 {
     graphic = new Sprite("null_bmp");
 }