mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-09 15:47:49 -04:00
Merge pull request #78 from denisdefreyne/patch-1
Fix typo in README.md
This commit is contained in:
commit
30b21c4c25
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ When defining a ComponentClass you need to pass in a name and usually a `populat
|
||||||
-- Create the position class with a populate function
|
-- Create the position class with a populate function
|
||||||
-- The component variable is the actual Component given to an Entity
|
-- The component variable is the actual Component given to an Entity
|
||||||
-- The x and y variables are values we pass in when we create the Component
|
-- The x and y variables are values we pass in when we create the Component
|
||||||
Concord.component("position" function(component, x, y)
|
Concord.component("position", function(component, x, y)
|
||||||
component.x = x or 0
|
component.x = x or 0
|
||||||
component.y = y or 0
|
component.y = y or 0
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue