added Country/CountryInfo trait for World
This commit is contained in:
19
OpenRa.Game/Traits/World/Country.cs
Normal file
19
OpenRa.Game/Traits/World/Country.cs
Normal 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 */ }
|
||||
}
|
||||
Reference in New Issue
Block a user