git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1302 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
(no author)
2007-07-18 14:00:54 +00:00
parent 9d13923a03
commit 7b37610fbe
6 changed files with 156 additions and 133 deletions

View File

@@ -11,10 +11,10 @@ namespace OpenRa.Game
class MoveOrder : IOrder
{
public readonly Mcv Unit;
public readonly Unit Unit;
public readonly int2 Destination;
public MoveOrder(Mcv unit, int2 destination)
public MoveOrder(Unit unit, int2 destination)
{
this.Unit = unit;
this.Destination = destination;
@@ -28,16 +28,16 @@ namespace OpenRa.Game
class DeployMcvOrder : IOrder
{
public Mcv Unit;
public Mcv Mcv;
public DeployMcvOrder( Mcv unit )
public DeployMcvOrder( Mcv mcv )
{
this.Unit = unit;
this.Mcv = mcv;
}
public void Apply()
{
Unit.AcceptDeployOrder();
Mcv.AcceptDeployOrder();
}
}
}