static void Main(string[] args) { AttackState attackState = PSInit(); while (true) { attackState.keyInfo = Console.ReadKey(); attackState = Processing.CommandProcessor(attackState); Display.Output(attackState); } }
public static void launchPSAttack() { AttackState attackState = PSInit(); while (true) { attackState.keyInfo = Console.ReadKey(); attackState = Processing.CommandProcessor(attackState); Display.Output(attackState); } }
static void Main(string[] args) { PunchState punchState = PSInit(); while (true) { punchState.keyInfo = Console.ReadKey(); punchState = Processing.CommandProcessor(punchState); Display.Output(punchState); } }
public static void launchPSAttack() { AttackState attackState = PSInit(); while (true) { if (attackState.console) { attackState.keyInfo = Console.ReadKey(); } else { attackState.cmd = Console.ReadLine(); } attackState = Processing.CommandProcessor(attackState); if (attackState.console) { Display.Output(attackState); } } }