public override void InitializeScreen() { _ui = new UserInterface(_session); InputMap.NewAction("MoveLeft", Keys.Left); InputMap.NewAction("MoveLeft", Triggers.LeftTrigger); InputMap.NewAction("MoveRight", Keys.Right); InputMap.NewAction("MoveRight", Triggers.RightTrigger); InputMap.NewAction("FireBall", Keys.Space); InputMap.NewAction("FireBall", Buttons.A); InputMap.NewAction("Pause", Keys.Escape); }
public void SetUI(UserInterface ui) { _ui = ui; }