Make all in-game mods class-based instead of containing everything inside a single enum, this makes adding future mods much easier as extending an interface makes it much easier to read. This also allows to make mods more extensible when implementing other game modes.
A master class would house all instances of a mod (i.e. GameMods class) which also handles the construction of mod instances depending on certain factors.
Make all in-game mods class-based instead of containing everything inside a single enum, this makes adding future mods much easier as extending an interface makes it much easier to read. This also allows to make mods more extensible when implementing other game modes.
A master class would house all instances of a mod (i.e.
GameMods
class) which also handles the construction of mod instances depending on certain factors.