Exemple #1
0
 public Actor(int x, int y, int ch, string name, TCODColor col)
 {
     this.x = x;
     this.y = y;
     this.ch = ch;
     this.col = col;
     this.name = name;
     this.blocks = true;
     this.attacker = null;
     this.destruct = null;
     this.ai = null;
     this.pick = null;
     this.contain = null;
     this.portal = null;
     if (name == "player")
     {
         this.gun = new Gun(10, 10);
     }
     else
     {
         this.gun = null;
     }
 }
Exemple #2
0
 public ConfusedMonAI(int turnCount, AI oldAI)
 {
     this.turnCount = turnCount;
     this.oldAI = oldAI;
 }