From 509e372f9ccbc49344493fdb36b2afb17103f4da Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Wed, 20 Aug 2014 09:27:23 -0500 Subject: Normalizes API for entities --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6703b5f..6724652 100644 --- a/README.md +++ b/README.md @@ -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. -- cgit