public Vector2 GetCurrentMouseTile(mapManager mapIn) { MouseState mouseState = Mouse.GetState(); return(mapIn.getTileFromMousePosition(mouseState.X, mouseState.Y, GlobalVariables.TILE_SIZE, 0, 0, associatedUIManager.GetGameWindowWidth(), associatedUIManager.GetGameWindowHeight())); }
public EventManager(Game gameIn, mapManager mapIn) { associatedGame = gameIn; associatedMap = mapIn; }
public InputManager(mapManager mapIn, UIManager uiManagerIn) { associatedMap = mapIn; associatedUIManager = uiManagerIn; }