Removed .init

This commit is contained in:
Justin van der Leij 2018-11-26 12:43:48 +01:00
parent 6ddb28ffbc
commit 39ec2106b7
6 changed files with 22 additions and 110 deletions

View file

@ -1,13 +1,11 @@
local Concord = require("lib").init({
useEvents = true
})
local Concord = require("lib")
local Entity = Concord.entity
local Component = Concord.component
local System = Concord.system
local Assemblage = Concord.assemblage
local Game = Concord.instance()
Concord.addInstance(Game)
local Legs = Component(function(e, legCount)
e.legCount = legCount or 0