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); }
private void DiscardChanges() { controlHandler = new ControlHandler(); keyBindings = controlHandler.GetKeyBindings(); reset = true; }