added BuildableInfo
This commit is contained in:
@@ -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 ) { }
|
||||
|
||||
Reference in New Issue
Block a user