added BuildableInfo

This commit is contained in:
Chris Forbes
2010-01-10 12:38:26 +13:00
parent 5fb2f91281
commit 7a8ab81c91
3 changed files with 17 additions and 3 deletions

View File

@@ -5,6 +5,18 @@ using System.Text;
namespace OpenRa.Game.Traits
{
class BuildableInfo : ITraitInfo
{
public readonly int TechLevel = -1;
public readonly string Tab = null;
public readonly string[] Prerequisites = { };
public readonly Race[] Owner = { };
public readonly int Cost = 0;
public readonly string Description = "";
public readonly string LongDesc = "";
public object Create(Actor self) { return new Buildable(self); }
}
class Buildable
{
public Buildable( Actor self ) { }