Merge pull request #78 from denisdefreyne/patch-1

Fix typo in README.md
This commit is contained in:
Justin van der Leij 2024-06-30 10:38:53 +02:00 committed by GitHub
commit 30b21c4c25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)