Constructor
new Events(entity)
This class handles various event listeners for game objects.
Parameters:
| Name | Type | Description |
|---|---|---|
entity |
Carrot.Sprite | object | The entity the event listeners shall be attached to. |