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

Expose spawn configuration options to other modules #29

Merged
merged 2 commits into from Jul 11, 2019

Conversation

@mayant15
Copy link
Contributor

commented Jul 8, 2019

If a module wishes to change the way spawn works, create a new system in that module which uses the setConfig and setSpawnCondition functions to pass custom configuration options and spawn conditions.

return false;
}
return true;
public static class Configuration {

This comment has been minimized.

Copy link
@iaronaraujo

iaronaraujo Jul 10, 2019

You could put this class into a new file for better visibility. If you want you could also put other constants in this class.

@mayant15 mayant15 merged commit 917b615 into Terasology:master Jul 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.