Example #1
0
 /// <summary>
 /// Draws the point to the screen with a centered origin.
 /// </summary>
 public void Draw(SpriteBatch spriteBatch)
 {
     spriteBatch.Draw(game.sprPoint,
                      new Rectangle((int)position.X, (int)position.Y,
                                    (int)game.GetGridCellSizes(game.gridSize).X,
                                    (int)game.GetGridCellSizes(game.gridSize).Y),
                      Color.White);
 }