git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1200 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
beedee
2007-07-13 14:08:20 +00:00
parent 37b0d0cb57
commit bcafc89002
4 changed files with 80 additions and 3 deletions

View File

@@ -9,10 +9,15 @@ namespace OpenRa.TechTree
{
public class Item
{
readonly bool isStructure;
public bool IsStructure { get { return isStructure; } }
public Item(string tag, string friendlyName, IniSection section, bool isStructure)
{
this.tag = tag;
this.friendlyName = friendlyName;
this.isStructure = isStructure;
owner = ParseOwner(section);
techLevel = ParseTechLevel(section);