public void Link(Colony colony) { colony.Storage.AddContainer(this); }
public void Tick(Colony colony) { throw new NotImplementedException(); }
public override bool Check(Colony colony) { var count = colony.Improvements.Count(p => p.ResourceKey == Key); return(count >= Amount); }
public override bool Check(Colony colony) { var inv = colony.GetInventory(Key); return(inv != null && inv.Quantity >= Amount); }
public abstract void Consume(Colony colony);
public abstract bool Check(Colony colony);