public InputManager(IBehaviourEvent behaviour) : this() { this.behaviour = behaviour; behaviour.AfterUpdate += Reset; hardwareInput = new HardwareInput(behaviour, this); }
public HardwareInput(IBehaviourEvent behaviour, IInput input) : this() { this.input = input; this.behaviour = behaviour; behaviour.BeforUpdate += Update; }