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:
chrisf
2008-07-25 07:27:47 +00:00
parent 4ea033f63d
commit b594f296c3
16 changed files with 400 additions and 115 deletions

View File

@@ -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; } }
}
}