public void OnGridClicked(float x, float y)
 {
     if (view.HasSufficientFunds() && gameGrid.Update((int)x, (int)y))
     {
         view.SpawnDefenderAtPosition(x, y);
         view.UpdateFunds();
     }
 }