moved inner classes out of UnitInfo for brevity. added money-up and money-down sounds. added slow view of money changes, like real-ra.

This commit is contained in:
Chris Forbes
2009-11-29 15:26:55 +13:00
parent 9860b35030
commit da84b66424
17 changed files with 96 additions and 77 deletions

View File

@@ -28,7 +28,7 @@ namespace OpenRa.Game
{
Game.world.AddFrameEndTask( _ =>
{
var building = (UnitInfo.BuildingInfo)Rules.UnitInfo[ order.TargetString ];
var building = (BuildingInfo)Rules.UnitInfo[ order.TargetString ];
var producing = order.Player.Producing(Rules.UnitCategory[order.TargetString]);
if( producing == null || producing.Item != order.TargetString || producing.RemainingTime != 0 )
return;