Lenidevelaire / opsu-variant

A fork of opsu! towards a different direction
GNU General Public License v3.0
1 stars 0 forks source link

GameMod class as inheritable object instead of enum #20

Open Lyonlancer5 opened 5 years ago

Lyonlancer5 commented 5 years ago

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.