boot.lua 325 B

123456789101112131415161718192021
  1. -- Copyright (c) 2012-2025 Daniele Bartolini et al.
  2. -- SPDX-License-Identifier: MIT
  3. require "core/game/game"
  4. require "main"
  5. if not init then
  6. init = GameBase.init
  7. end
  8. if not update then
  9. update = GameBase.update
  10. end
  11. if not render then
  12. render = GameBase.render
  13. end
  14. if not shutdown then
  15. shutdown = GameBase.shutdown
  16. end