Example #1
0
 public Rectangle GetDrawRectangle(TileCoord coord, TowerWidth width, TowerHeight height)
 {
     return(new Rectangle((int)coordHandler.WorldToScreen(coord.ToVector2()).X + 1, (int)coordHandler.WorldToScreen(coord.ToVector2()).Y + 1, coordHandler.ScaleToZoom((int)width), coordHandler.ScaleToZoom((int)height)));
 }
Example #2
0
 public TowerSize(TowerWidth _width, TowerHeight _height)
 {
     Width  = _width;
     Height = _height;
 }