Browse Source

feat(core): add a way to activate easily debug mode directly

master
Kazhnuz 6 months ago
parent
commit
4e9923b2ea
2 changed files with 4 additions and 2 deletions
  1. 2
    0
      CHANGELOG.md
  2. 2
    2
      gamecore/init.lua

+ 2
- 0
CHANGELOG.md View File

@@ -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

+ 2
- 2
gamecore/init.lua View File

@@ -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…
Cancel
Save