Exemple #1
0
 public void Initialize(LZFighter fighter)
 {
     this.fighter = fighter;
     foreach (var s in states)
     {
         s.Initialize(fighter, this);
     }
     for (int i = 0; i < states.Count; i++)
     {
         states[i].containedNodes = states.FindAll((s) => s.parent == i).ConvertAll((s) => states.FindIndex((a) => a == s));
     }
     time = new FrameTimer();
 }