slowly teasing the view+controller out of the model classes.
actually doesn't work right now, but that will change. git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@2050 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
@@ -28,10 +28,8 @@ namespace OpenRa.Game.Graphics
|
||||
}
|
||||
|
||||
List<Region> regions = new List<Region>();
|
||||
public void AddRegion(Region r)
|
||||
{
|
||||
regions.Add(r);
|
||||
}
|
||||
|
||||
public void AddRegion(Region r) { regions.Add(r); }
|
||||
|
||||
public void DrawRegions(Game game)
|
||||
{
|
||||
@@ -46,9 +44,6 @@ namespace OpenRa.Game.Graphics
|
||||
renderer.EndFrame();
|
||||
}
|
||||
|
||||
public IEnumerable<Region> Regions
|
||||
{
|
||||
get { return regions; }
|
||||
}
|
||||
public IEnumerable<Region> Regions { get { return regions; } }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user