Esempio n. 1
0
 protected override void Refresh(object sender, RoundChangedEventArgs e)
 {
     Owner.Resources.Types[ResourceType.Food].Amount += ProductionRate;
 }
 private void RoundChanged(object sender, RoundChangedEventArgs e)
 {
     Text.DisplayedString = e.Round.ToString();
 }
Esempio n. 3
0
 protected void OnRoundChanged(RoundChangedEventArgs eventArgs) => RoundChanged?.Invoke(this, eventArgs);
Esempio n. 4
0
 protected override void Refresh(object sender, RoundChangedEventArgs e)
 {
     CombatsLeft  = Combats;
     MovementLeft = Movement;
 }
 protected virtual void Refresh(object sender, RoundChangedEventArgs e)
 {
 }