diff options
| author | Ben Beltran <ben@nsovocal.com> | 2014-08-20 09:27:23 -0500 |
|---|---|---|
| committer | Ben Beltran <ben@nsovocal.com> | 2014-08-20 09:27:23 -0500 |
| commit | 509e372f9ccbc49344493fdb36b2afb17103f4da (patch) | |
| tree | 7f023e4d6c8a2109486716e5af36e2de392fb1dc /README.md | |
| parent | 60a6915a0b24975e28a02b28e43d34f6dbb15625 (diff) | |
Normalizes API for entitiesv0.1.7
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,9 +45,9 @@ eventually be consumed by "Systems" } }); -You can add components to entities by using the add method: +You can add components to entities by using the addComponent method: - entity.add(new PositionComponent()); + entity.addComponent(new PositionComponent()); Systems can refer to entities by requesting nodes. |