private void LoadControls() { controlHandler = new ControlHandler(); keyBindings = controlHandler.GetKeyBindings(); originalKeybindings = controlHandler.GetKeyBindings(); controlsEnabled = true; int posX = 0; int posY = 0; pointerPos = new Vector2(xPositions[posX], yPositions[posY]); if (controlHandler.GetNumberOfWiimotes() > 0) wm = controlHandler.GetWiimote(0); }
public override void Initialize() { cHandler = new ControlHandler(); keyBindingsContent = new KeyBindingsContent(graphics, Content); }
private void DiscardChanges() { controlHandler = new ControlHandler(); keyBindings = controlHandler.GetKeyBindings(); reset = true; }