Exemplo n.º 1
0
        public static void EndOfFrameActivity()
        {
            if (InputManager.Keyboard.KeyDown(Keys.LeftControl) &&
                InputManager.Keyboard.KeyPushed(Keys.Z) &&
                mInstructions.Count != 0)
            {
                InstructionList instructionList = mInstructions[mInstructions.Count - 1];

                instructionList.Execute();
                mInstructions.RemoveAt(mInstructions.Count - 1);
            }
        }