started working on the Player-Actor.

This commit is contained in:
Bob
2009-12-15 21:58:09 +13:00
parent 9e68f4fb9d
commit ca946ea7cf
8 changed files with 131 additions and 85 deletions

View File

@@ -10,6 +10,7 @@ namespace OpenRa.Game
class Player
{
public Actor PlayerActor;
public int Palette;
public int Kills;
public string PlayerName;
@@ -23,8 +24,9 @@ namespace OpenRa.Game
public bool IsReady;
public Player( int index, int palette, string playerName, Race race )
public Player( Actor playerActor, int index, int palette, string playerName, Race race )
{
this.PlayerActor = playerActor;
this.Index = index;
this.Palette = palette;
this.PlayerName = playerName;