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

This commit is contained in:
(no author)
2007-07-24 09:16:41 +00:00
parent 5bf38488d2
commit 3d3316a188
14 changed files with 63 additions and 53 deletions

View File

@@ -18,11 +18,11 @@ namespace OpenRa.Game
protected readonly float2 renderOffset;
public Unit( string name, int2 cell, int palette, float2 renderOffset )
public Unit( string name, int2 cell, Player owner, float2 renderOffset )
{
fromCell = toCell = cell;
this.renderOffset = renderOffset;
this.palette = palette;
this.owner = owner;
animation = new Animation( name );
animation.PlayFetchIndex( "idle", delegate { return facing; } );