示例#1
0
 public void Initialize(MageController control, int x, int y, int dir, MapGenerator map)
 {
     if (started)
     {
         return;
     }
     started    = true;
     controller = control;
     this.map   = map;
     Setup(x, y, dir);
     lastDirection = GetDirection();
 }
示例#2
0
 public void Initialize(MageController control)
 {
     if (started)
     {
         return;
     }
     started    = true;
     controller = control;
     skills     = new Skill[1];
     skills[0]  = Fireball.Default();
     _maxHealth = 10;
 }