/// <summary> /// Update each game loop /// </summary> internal void Update() { #if !XBOX previousState = currentState; currentState = new ScratchyMouseState(Mouse.GetState()); position = Vector2.Zero; // Clear the cached position #endif }
/// <summary> /// Init /// </summary> internal void Init() { #if XBOX previousState = currentState = new ScratchyMouseState(); #else previousState = currentState = new ScratchyMouseState(Mouse.GetState()); #endif }