]> git.r.bdr.sh - rbdr/serpentity/blobdiff - README.md
Normalizes API for entities
[rbdr/serpentity] / README.md
index 6703b5f0a3e221837179730a5f6bcdd4aad9e055..6724652ea0d47572cda501d06aac6e9cb14ee167 100644 (file)
--- 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.