Beispiel #1
0
        static void Main(string[] args)
        {
            AttackState attackState = PSInit();

            while (true)
            {
                attackState.keyInfo = Console.ReadKey();
                attackState         = Processing.CommandProcessor(attackState);
                Display.Output(attackState);
            }
        }
Beispiel #2
0
            public static void launchPSAttack()
            {
                AttackState attackState = PSInit();

                while (true)
                {
                    attackState.keyInfo = Console.ReadKey();
                    attackState         = Processing.CommandProcessor(attackState);
                    Display.Output(attackState);
                }
            }
Beispiel #3
0
        static void Main(string[] args)
        {
            PunchState punchState = PSInit();

            while (true)
            {
                punchState.keyInfo = Console.ReadKey();
                punchState         = Processing.CommandProcessor(punchState);
                Display.Output(punchState);
            }
        }
Beispiel #4
0
            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);
                    }
                }
            }