public CombatScreen() { ClearColor = Color.Black; _combatService = Rock.Instance.GetService<CombatOverwatchService>() as CombatOverwatchService; comState = CombatState.PreCombat; turState = TurnState.Waiting; delaySpan = new TimeSpan(); //Menus: // 0 - main // 1 - skill // 2 - item // 3 - targeting // 4 - choose skill.attack menuPositions = new int[5]; menuItems = new List<string[]>(); menuItems.Add(new string[4] { "Std Melee", "Skills", "Items", "Flee" }); menuItems.Add(new string[1] { "Cancel" }); menuItems.Add(new string[1] { "Cancel" }); menuItems.Add(new string[8] { "Enemy: Front", "Enemy: Left", "Enemy: Right", "Enemy: Back", "Team: Front", "Team: Left", "Team: Right", "Team: Back" }); menuItems.Add(new string[1] { "IMessedUp" }); }
internal void TakeCombatTurn(CombatOverwatchService _combatService) { if (null != combatAI) { CombatMessage = "Enemy did shit yo."; combatAI.RunAI(null, this, _combatService.Player.GetPlayer()); } else { CombatMessage = "Enemy is dumb and has no AI.\nGG developers!"; } }