X-Git-Url: https://git.r.bdr.sh/rbdr/serpentity/blobdiff_plain/74892a8fd50cdc2a1294d776dc246912de9f94d5..d0eb71f3e1f7a8fb227f9fd9286c9d9f041fcce0:/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.