You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This way, the developer doesn't need to write a custom MapObjectLoader when extending the base Creature type (in this case, with a Zombie).
The same behaviour would be desirable for Triggers and, in fact, any other kind of MapObject that is extended frequently.
The text was updated successfully, but these errors were encountered:
The
CreatureMapObjectLoader
provides a convenient, reflection-based way to register customCreature
types, see this example:This way, the developer doesn't need to write a custom
MapObjectLoader
when extending the baseCreature
type (in this case, with aZombie
).The same behaviour would be desirable for
Trigger
s and, in fact, any other kind ofMapObject
that is extended frequently.The text was updated successfully, but these errors were encountered: