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

Better dependecy management

This commit is contained in:
Reuh 2016-04-26 16:15:20 +02:00
parent fc40d440df
commit 8694400105
4 changed files with 5 additions and 8 deletions

View file

@ -1,8 +1,7 @@
-- abstract.event
local abstract = require((...):match("^(.-abstract)%."))
local input = abstract.input
local time = abstract.time
local scene = abstract.scene
local input = require((...):match("^(.-abstract)%.")..".input")
local time = require((...):match("^(.-abstract)%.")..".time")
local scene = require((...):match("^(.-abstract)%.")..".scene")
--- The events: callback functions that will be called when something interesting occurs.
-- Theses are expected to be redefined in the game.

View file

@ -1,6 +1,6 @@
-- abstract.input
local abstract = require((...):match("^(.-abstract)%."))
local draw = abstract.draw
local draw = require((...):match("^(.-abstract)%.")..".draw")
--- Used to store inputs which were updated this frame
-- { Input: true, ... }

View file

@ -1,6 +1,5 @@
-- abstract.scene
local abstract = require((...):match("^(.-abstract)%."))
local time = abstract.time
local time = require((...):match("^(.-abstract)%.")..".time")
--- Returns the file path of the given module name.
local function getPath(modname)

View file

@ -1,5 +1,4 @@
-- abstract.time
local abstract = require((...):match("^(.-abstract)%."))
local ease = require((...):match("^(.-abstract)%.")..".lib.easing")
--- Time related functions