Example #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();
 }
Example #2
0
 public void Initialize(MageController control)
 {
     if (started)
     {
         return;
     }
     started    = true;
     controller = control;
     skills     = new Skill[1];
     skills[0]  = Fireball.Default();
     _maxHealth = 10;
 }