Add Game.Zoom for remaining engine stuff.

This commit is contained in:
Paul Chote
2013-09-27 18:14:44 +12:00
parent 3ae75362bb
commit fe8c80aca6
5 changed files with 11 additions and 5 deletions

View File

@@ -33,6 +33,11 @@ namespace OpenRA
public static ModData modData;
static WorldRenderer worldRenderer;
public static float Zoom
{
get { return worldRenderer.Viewport.Zoom; }
set { worldRenderer.Viewport.Zoom = value; }
}
public static Viewport viewport;
public static Settings Settings;