Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow adding custom Triggers without having to write a customMapObjectLoader #300

Open
nightm4re94 opened this issue Jan 5, 2020 · 1 comment

Comments

@nightm4re94
Copy link
Member

The CreatureMapObjectLoader provides a convenient, reflection-based way to register custom Creature types, see this example:

    CreatureMapObjectLoader.registerCustomCreatureType(Zombie.class);

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.

@nightm4re94 nightm4re94 added this to the v0.5.0-beta milestone Jan 5, 2020
@nightm4re94
Copy link
Member Author

Maybe we should even consider making MapObjectLoaders generic in general.

@steffen-wilke steffen-wilke removed this from the v0.5.0-beta milestone Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants