register Render Food
Registers a new trigger that runs before the player's food is being drawn.
Passes through one argument:
The render event, which can be cancelled
Available modifications:
EventTrigger.triggerIfCanceled Sets if triggered if event is already cancelled
Trigger.setPriority Sets the priority
Return
The trigger for additional modification
Parameters
method
The method to call when the event is fired