public override void OnTrigger(TriggerEnum trigger, TriggerData data, AgeComponent component) { //Console.WriteLine("\t\tIncrementing age..."); component.Age++; }
public TreeEntity(string name, ulong age = 0, byte branches = 0, double branchBooster = 1) { Name = name; AgeComponent = new AgeComponent(age); BranchComponent = new BranchComponent(branches, branchBooster); }