refinery comes with a harvester

git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1344 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
(no author)
2007-07-24 10:22:34 +00:00
parent 60e6f36042
commit ced4d24793
11 changed files with 43 additions and 26 deletions

View File

@@ -8,7 +8,7 @@ namespace OpenRa.Game
{
protected Animation animation;
protected int facing = 0;
public int facing = 0;
protected int2 fromCell, toCell;
protected int moveFraction, moveFractionTotal;
@@ -18,7 +18,8 @@ namespace OpenRa.Game
protected readonly float2 renderOffset;
public Unit( string name, int2 cell, Player owner, float2 renderOffset )
public Unit( string name, int2 cell, Player owner, float2 renderOffset, Game game )
: base( game )
{
fromCell = toCell = cell;
this.renderOffset = renderOffset;