put engine in own folder

This commit is contained in:
Sebastian Hugentobler 2014-05-21 11:21:27 +02:00
parent d70e7ec524
commit 8d21db47f1
19 changed files with 14 additions and 14 deletions

View File

@ -1,5 +1,5 @@
local anim8 = require 'libs/anim8' local anim8 = require 'engine/libs/anim8'
local object = require 'object' local object = require 'engine/object'
Animator = class() Animator = class()

View File

@ -1,5 +1,5 @@
local object = require '../object' local object = require '../engine/object'
local animator = require '../animator' local animator = require '../engine/animator'
Gridwalker = class() Gridwalker = class()

View File

@ -1,10 +1,12 @@
local HC = require 'libs/hardoncollider' class = require 'engine/libs/30log'
local HC = require 'engine/libs/hardoncollider'
-- has to come before the sti initialization so I can add the collision tiles -- has to come before the sti initialization so I can add the collision tiles
collider = HC(100) collider = HC(100)
local sti = require "libs/sti" local sti = require "engine/libs/sti"
local object = require "object" local object = require "engine/object"
local ui = require "ui" local ui = require "engine/ui"
Engine = class() Engine = class()

View File

@ -1,5 +1,3 @@
class = require 'libs/30log'
local engine = require 'engine' local engine = require 'engine'
function love.load(arg) function love.load(arg)

View File

@ -1,5 +1,5 @@
local object = require "../object" local object = require "engine/object"
local gridwalker = require "../controllers/gridwalker" local gridwalker = require "engine/controllers/gridwalker"
return { return {
spritesheet = "assets/characters/matty.png", spritesheet = "assets/characters/matty.png",

View File

@ -1,5 +1,5 @@
local object = require "../object" local object = require "engine/object"
local gridwalker = require "../controllers/gridwalker" local gridwalker = require "engine/controllers/gridwalker"
return { return {
spritesheet = "assets/characters/player.png", spritesheet = "assets/characters/player.png",