Closed gavinking closed 10 months ago
I propose we clarify in section 3.5.2 that if an entity listener callback method deals with a specific entity type E, its parameter may be declared with that type, i.e. void <METHOD>(E) instead of void <METHOD>(Object), avoiding a typecast.
E
void <METHOD>(E)
void <METHOD>(Object)
I propose we clarify in section 3.5.2 that if an entity listener callback method deals with a specific entity type
E
, its parameter may be declared with that type, i.e.void <METHOD>(E)
instead ofvoid <METHOD>(Object)
, avoiding a typecast.