Пример #1
0
 public DieOnContactBehaviour(IInput <DamagersCollided> input, IHealthSystemController controller) : base(input, controller)
 {
     this.controller = controller;
 }
Пример #2
0
 public HealthBehaviour(IHealthData data, IHealthSystemController controller, IInput <DamagersCollided> input) :
     base(input, controller)
 {
     currentHP       = data.MaxHealthPoints;
     this.controller = controller;
 }