mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-04 05:13:55 -04:00
Fix typo in README.md
A piece of example code was missing a `,`.
This commit is contained in:
parent
1aaf501401
commit
6575686b3b
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
|
||||
-- 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
|
||||
Concord.component("position" function(component, x, y)
|
||||
Concord.component("position", function(component, x, y)
|
||||
component.x = x or 0
|
||||
component.y = y or 0
|
||||
end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue