public static void Initialize() { GameKeyState.Initialize(); GameMouseState.Initialize(); CameraControls = new CameraController(); }
public static void Update() { GameKeyState.Update(); GameMouseState.Update(); if (CameraControls != null && !CameraControls.IsPaused) { CameraControls.Update(); } if (PlayerControls != null && !PlayerControls.IsPaused) { PlayerControls.Update(); } }