added Country/CountryInfo trait for World

This commit is contained in:
Chris Forbes
2010-02-10 14:51:26 +13:00
parent d03fdc00be
commit b7ade669fa
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OpenRa.Traits
{
class CountryInfo : ITraitInfo
{
public readonly string Name = null;
public readonly string Race = null;
/* todo: icon,... */
public object Create(Actor self) { return new CountryInfo(); }
}
class Country { /* we're only interested in the Info */ }
}