Update version to 0.0.2

Add System addition and removal
Changed implementation for Entity removal
Change README and example code
This commit is contained in:
bakpakin
2015-03-22 12:07:42 +08:00
parent b98cd5a14d
commit 216064d63c
3 changed files with 132 additions and 58 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ local talkingSystem = System(
print("Talking system has started.")
end,
function (p, delta)
print(p.name .. ", who weighs " .. p.mass .. "pounds, says, " .. p.phrase)
print(p.name .. ", who weighs " .. p.mass .. " pounds, says, \"" .. p.phrase .. "\"")
end,
personAspect
)
@@ -61,7 +61,7 @@ local world = World(talkingSystem)
local joe = {
name = "Joe",
phrase = "I'm a plumber.",
mass = 150,
mass = 250,
hairColor = "brown"
}