示例#1
0
 public Battle()
 {
     TurnSystem     = new DefaultTurnSystem();
     enemyAISysytem = new DefaultEnemyAiSystem(this, TurnSystem);
     ActionMenu     = new DefaultActionMenu(TurnSystem);
     //TargetSystem = new DefaultTargetSystem(Enemies);
     //HealthCounter = new MarioHealthCounter(Heroes);
     //actionMenuStore ;
 }
示例#2
0
 public Battle(List <Hero> heroes, List <Enemy> enemies)
 {
     Heroes             = heroes;
     Enemies            = enemies;
     TurnSystem         = new DefaultTurnSystem();
     this.HealthCounter = new MarioHealthCounter(heroes);
     ActionMenu         = new DefaultActionMenu(TurnSystem);
     TargetSystem       = new DefaultTargetSystem(Enemies);
     TurnSystem.Load(heroes, enemies);
 }
示例#3
0
 public Battle(List <Hero> heroes, List <Enemy> enemies, ITextBubbleSystem bubbleSystem)
 {
     Heroes             = heroes;
     Enemies            = enemies;
     TurnSystem         = new DefaultTurnSystem();
     enemyAISysytem     = new DefaultEnemyAiSystem(this, TurnSystem);
     this.HealthCounter = new MarioHealthCounter(heroes);
     ActionMenu         = new DefaultActionMenu(TurnSystem);
     TargetSystem       = new DefaultTargetSystem(Enemies);
     TextBubbleSystem   = bubbleSystem;
     TurnSystem.Load(heroes, enemies);
 }