Exemplo n.º 1
0
        public bool IsInvented(Invention type)
        {
            bool result = false;

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