Exemple #1
0
 //Trainer Battle
 public SceneBattle(Trainer opponent)
 {
     SceneManager.SetScene(SceneManager.Scenes.Battle, this);
     BackgroundTexture = GameUtils.Content.Load <Texture2D>("Graphics/Battlebacks/bg_grass");
     Battle            = new Battle(opponent);
 }
Exemple #2
0
 //Trainer Battle
 public Battle(Trainer opponent)
 {
     Opponent          = opponent;
     ActiveBattlers[0] = new Battler(this, GameUtils.Player.Party[0], 0);
     ActiveBattlers[1] = new Battler(this, opponent.Party[0], 1);
 }