public bool IsInvented(Invention type) { bool result = false; inventions.TryGetValue(type, out result); return(result); }
public void Invent(Invention type) { inventions[type] = true; Points -= type.Cost.get(); if (Points < 0f) { Points = 0f; } }
public void selectInvention(Invention newSelection) { selectedInvention = newSelection; }
public InventionEventArgs(Invention invention) : base(UIEvents.ClickTypes.Inventions) { this.Invention = invention; }