/** `RemoveListener()` : **`function`** * * Corollary to the `AddListener()` function. **/ public virtual void RemoveListener(Thing thing) => ViewEvent -= thing.View;
/** `AddListener()` : **`function`** * * Every instantiated `Thing` calls if it detects the * `Player` is nearby via `OnTriggerEnter()`. It then * subscribes itself to or unsubscribes itself from the * global/static `Thing`, acts as an event handler to * the instances. Subscribers could have any number of * functions called iff the `Player` is nearby and the * `Player` issues an appropriate command. **/ public virtual void AddListener(Thing thing) => ViewEvent += thing.View;