Exemplo n.º 1
0
        static void Main(string[] args)
        {
            AttackState attackState = PSInit();

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

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

            while (true)
            {
                punchState.keyInfo = Console.ReadKey();
                punchState         = Processing.CommandProcessor(punchState);
                Display.Output(punchState);
            }
        }
Exemplo n.º 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);
                    }
                }
            }