generated from Sonnicon/mindustry-modtemplate
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
enhancementinprovment exiting featuresinprovment exiting featuresrefactorclean up code, fix ambiguous thingsclean up code, fix ambiguous things
Milestone
Description
SettingConfiger will...
- have EventEmitter, for detecting setting changes without any cost, or any dependents.
- store various of types. not only boolean but also float, int... which
Core.settingcan store. - Because of the above feature, the consumers who want to configure will resolve their own UI. but that's DRY, so SettingConfiger's subclass will describe which is shown to control the config value.
- The current way to access the SettingConfiger is across classes like
ToolManagerorOverDrawManager. becauseSettingConfigershould act likeCore.settingbut more fast and cheaper, this should be singleton.
These changes will...
- Clean up
SettingandToolWindowcodes. - You can use or listen to setting configuring anywhere, anytime through a pre-supplied UI or interface.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementinprovment exiting featuresinprovment exiting featuresrefactorclean up code, fix ambiguous thingsclean up code, fix ambiguous things
