feat(core): add a way to activate easily debug mode directly
This commit is contained in:
parent
543247e721
commit
4e9923b2ea
2 changed files with 4 additions and 2 deletions
|
@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
- **core/debug:** add log functions
|
||||
|
||||
- **core:** add a way to activate easily debug mode directly
|
||||
|
||||
### Changed
|
||||
|
||||
- **world:** extract map module from the world module
|
||||
|
|
|
@ -47,8 +47,8 @@ require(cwd .. "callbacks")
|
|||
-- INIT FUNCTIONS
|
||||
-- Initialize and configure the core object
|
||||
|
||||
function CoreSystem:new()
|
||||
self.debug = DebugSystem(self)
|
||||
function CoreSystem:new(DEBUGMODE)
|
||||
self.debug = DebugSystem(self, DEBUGMODE)
|
||||
self.options = Options(self)
|
||||
self.input = Input(self)
|
||||
self.screen = Screen(self)
|
||||
|
|
Loading…
Reference in a new issue