mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-02 12:24:11 -04:00
Rename 'instance' to 'context'
This commit is contained in:
parent
89a3a7fa8a
commit
26bd0ef937
8 changed files with 72 additions and 72 deletions
|
@ -1,11 +1,11 @@
|
|||
local Concord = require("lib")
|
||||
local Concord = require("src")
|
||||
|
||||
local Entity = Concord.entity
|
||||
local Component = Concord.component
|
||||
local System = Concord.system
|
||||
local Assemblage = Concord.assemblage
|
||||
|
||||
local Game = Concord.instance()
|
||||
local Game = Concord.context()
|
||||
|
||||
local Legs = Component(function(e, legCount)
|
||||
e.legCount = legCount or 0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
local PATH = (...):gsub('%.[^%.]+$', '')
|
||||
|
||||
local Concord = require("lib")
|
||||
local Concord = require("src")
|
||||
|
||||
local C = require(PATH..".src.components")
|
||||
local S = require(PATH..".src.systems")
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
local Concord = require("lib")
|
||||
local Concord = require("src")
|
||||
|
||||
local Entity = Concord.entity
|
||||
local Component = Concord.component
|
||||
local System = Concord.system
|
||||
|
||||
local Game = Concord.instance()
|
||||
local Game = Concord.context()
|
||||
|
||||
local Position = Component(function(e, x, y)
|
||||
e.x = x
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue