pushed bibs down into the smudge layer; made Game static

This commit is contained in:
Chris Forbes
2009-10-20 20:47:04 +13:00
parent e41e74e609
commit a4c344523f
26 changed files with 201 additions and 202 deletions

View File

@@ -14,16 +14,16 @@ namespace OpenRa.Game
selection = selected.ToList();
}
public IEnumerable<Order> Order( Game game, int2 xy )
public IEnumerable<Order> Order( int2 xy )
{
foreach( var unit in selection )
{
var ret = unit.Order( game, xy );
var ret = unit.Order( xy );
if( ret != null )
yield return ret;
}
}
public void PrepareOverlay( Game game, int2 xy ) { }
public void PrepareOverlay( int2 xy ) { }
}
}