public void WhenBuildingBattle_ReturnValidBattle() { var builder = new BattleBuilder(); var director = new BattleDirector(); director.Build(builder); var battle = builder.Build(); battle.Should().BeOfType <Battle>(); battle.AggroedEnemies.Should().NotBeNull(); battle.BattleSystem.Should().BeOfType <RealTimeBattle>(); battle.Map.Should().NotBeNull(); battle.Player.Should().NotBeNull(); battle.ProgressionSystem.Should().BeOfType <ActivityBasedProgression>(); }
public void WhenBuildingBattle_ReturnValidBattle() { var builder = new BattleBuilder(); var director = new BattleDirector(); director.Build(builder); var battle = builder.Build(); battle.Should().BeOfType <Battle>(); battle.Arena.Should().NotBeNull(); battle.BattleSystem.Should().BeOfType <ConditionalTurnBasedBattle>(); battle.Mob.Should().NotBeNull(); battle.Party.Should().NotBeNull(); battle.ProgressionSystem.Should().BeOfType <SphereGrid>(); }
private static BattleLogic MakeBattleLogic(BattleController battleController) { return(BattleBuilder.Build(MakeBattleInfo(battleController))); }