private Executor CreateSut(FakeWindower windower, FakePlayer player) { var memory = new FakeMemoryAPI(); memory.Player = player; memory.Windower = windower; var sut = new Executor(memory); return(sut); }
private static BattleState CreateSut(FakeWindower windower, FakePlayer player) { var navigator = FindNavigator(); var sut = new BattleState(new FakeMemoryAPI() { Windower = windower, Player = player, Navigator = navigator }); return(sut); }
private Executor CreateSut( FakeWindower windower, FakePlayer player, FakeNavigator navigator, FakeTarget target) { var memory = new FakeMemoryAPI(); memory.Player = player; memory.Windower = windower; memory.Navigator = navigator; memory.Target = target; var sut = new Executor(memory); return(sut); }
private static BattleState CreateSut(FakeWindower windower) { var player = FindPlayer(); var navigator = FindNavigator(); var target = FindTarget(); var sut = new BattleState(new FakeMemoryAPI() { Player = player, Windower = windower, Navigator = navigator, Target = target }); CombatState.Target = FindUnit(); return(sut); }
private static BattleState CreateSut(FakeWindower windower) { var player = FindPlayer(); var navigator = FindNavigator(); var target = FindTarget(); var timer = FindTimer(); var memory = new FakeMemoryAPI() { Player = player, Windower = windower, Navigator = navigator, Target = target, Timer = timer }; var sut = new BattleState(new StateMemory(memory) { Target = FindUnit() }); return(sut); }