Пример #1
0
        public override bool HandleInputs(InputState input)
        {
            userMovement = TileEngine.UpdateUserMovement(input.IsUp(), input.IsDown(), input.IsLeft(), input.IsRight());

            if (input.IsMenuSelect())
                TileEngine.TriggerEvent();
            if (input.IsMenu())
                GameStateManager.Instance.AddScreen(new WorldMenuScreen(), true, false);
            return true;
        }