finished building *Infos
This commit is contained in:
@@ -5,7 +5,7 @@ namespace OpenRa.Game.Traits
|
||||
{
|
||||
class HarvesterInfo : ITraitInfo
|
||||
{
|
||||
public object Create(Actor self) { return new Harvester(self); }
|
||||
public object Create(Actor self) { return new Harvester(); }
|
||||
}
|
||||
|
||||
class Harvester : IIssueOrder, IResolveOrder, IPips
|
||||
@@ -18,8 +18,6 @@ namespace OpenRa.Game.Traits
|
||||
public bool IsFull { get { return oreCarried + gemsCarried == Rules.General.BailCount; } }
|
||||
public bool IsEmpty { get { return oreCarried == 0 && gemsCarried == 0; } }
|
||||
|
||||
public Harvester(Actor self) { }
|
||||
|
||||
public void AcceptResource(bool isGem)
|
||||
{
|
||||
if (isGem) gemsCarried++;
|
||||
|
||||
Reference in New Issue
Block a user