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