| 12345678910111213141516171819202122232425262728293031323334353637 |
- //-----------------------------------------------------------------------------
- // ActionMap.cs
- //
- // Microsoft XNA Community Game Platform
- // Copyright (C) Microsoft Corporation. All rights reserved.
- //-----------------------------------------------------------------------------
- using System.Collections.Generic;
- using Microsoft.Xna.Framework.Input;
- using Microsoft.Xna.Framework.Input.Touch;
- namespace RolePlaying
- {
- public static partial class InputManager
- {
- /// <summary>
- /// A combination of gamepad and keyboard keys mapped to a particular action.
- /// </summary>
- public class ActionMap
- {
- /// <summary>
- /// List of GamePad controls to be mapped to a given action.
- /// </summary>
- public List<GamePadButtons> gamePadButtons = new List<GamePadButtons>();
- /// <summary>
- /// List of Keyboard controls to be mapped to a given action.
- /// </summary>
- public List<Keys> keyboardKeys = new List<Keys>();
- public List<MouseButtons> mouseButtons = new List<MouseButtons>();
- public List<GestureType> touchGestures = new List<GestureType>();
- }
- }
- }
|