register an object to the pool.
Pooling must be set to true if more than one such objects will be created.
(Note: for an object to be poolable, it must implements a onResetEvent method)
as defined in the Name field of the Object Properties (in Tiled)
corresponding Class to be instantiated
Optionalrecycling: boolean = falseenables object recycling for the specified class