public void Collect(ref Player player) { GeneratorResouces r = this; player.GiveResources(r); Reset(); }
public void Add(ref GeneratorResouces r) { r.Iron += Iron; r.Gold += Gold; r.Diamond += Diamond; r.Emerald += Emerald; }
public void Collect(ref Player player) { GeneratorResouces r = this; player.GiveResources(r); Reset(); }
public void Add(ref GeneratorResouces r) { r.Iron += Iron; r.Gold += Gold; r.Diamond += Diamond; r.Emerald += Emerald; }