mirror of
https://github.com/bakpakin/tiny-ecs.git
synced 2026-07-21 23:56:50 -06:00
Merge pull request #25 from yangruihan/master
fix README.md example error
This commit is contained in:
@@ -56,7 +56,7 @@ local talkingSystem = tiny.processingSystem()
|
|||||||
talkingSystem.filter = tiny.requireAll("name", "mass", "phrase")
|
talkingSystem.filter = tiny.requireAll("name", "mass", "phrase")
|
||||||
function talkingSystem:process(e, dt)
|
function talkingSystem:process(e, dt)
|
||||||
e.mass = e.mass + dt * 3
|
e.mass = e.mass + dt * 3
|
||||||
print(("%s who weighs %d pounds, says %q."):format(e.name, e.mass, e.phrase)
|
print(("%s who weighs %d pounds, says %q."):format(e.name, e.mass, e.phrase))
|
||||||
end
|
end
|
||||||
|
|
||||||
local joe = {
|
local joe = {
|
||||||
|
|||||||
Reference in New Issue
Block a user