added PaletteType enum

This commit is contained in:
Alli
2009-12-23 22:24:20 +13:00
parent 8fa02ea6a3
commit 9e950c84ca
16 changed files with 50 additions and 39 deletions

View File

@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using OpenRa.Game.GameRules;
using OpenRa.Game.Traits;
using OpenRa.Game.Graphics;
namespace OpenRa.Game
{
@@ -11,7 +12,7 @@ namespace OpenRa.Game
class Player
{
public Actor PlayerActor;
public int Palette;
public PaletteType Palette;
public int Kills;
public string PlayerName;
public string InternalName;
@@ -26,7 +27,7 @@ namespace OpenRa.Game
public bool IsReady;
public Player( Actor playerActor, int index, int palette, string playerName, Race race, string internalName )
public Player( Actor playerActor, int index, PaletteType palette, string playerName, Race race, string internalName )
{
this.PlayerActor = playerActor;
this.Index = index;