1
0
Fork 0
mirror of https://github.com/Reuh/ubiquitousse.git synced 2025-10-27 17:19:31 +00:00

Add ecs.scene

This commit is contained in:
Étienne Fildadut 2019-12-24 19:52:48 +01:00
parent 16e533d176
commit b5324faace
3 changed files with 80 additions and 52 deletions

View file

@ -1,6 +1,6 @@
--- ubiquitousse.scene
-- Optional dependencies: ubiquitousse.time (to provide each scene a time registry)
local loaded, time = pcall(require, (...):match("^.-ubiquitousse%.").."time")
local loaded, time = pcall(require, (...):match("^(.-)scene").."time")
if not loaded then time = nil end
--- Scene management.