diff --git a/README.md b/README.md index e4c2d77..00dd00a 100644 --- a/README.md +++ b/README.md @@ -149,10 +149,10 @@ struct UpdateSystem void main() { - //initialize ECS - EntityManager.initialize(); + //initialize ECS + EntityManager.initialize(); - //begin registering process + //begin registering process gEntityManager.beginRegister(); //register components gEntityManager.registerComponent!Position; @@ -160,7 +160,7 @@ void main() gEntityManager.registerComponent!StaticFlag; //register system with priority 0 gEntityManager.registerSystem!UpdateSystem(0); - //end registering process + //end registering process gEntityManager.endRegister(); //allocate template @@ -180,8 +180,8 @@ void main() gEntityManager.update(); //update all systems, there onUpdate callbacks are called gEntityManager.end(); //end frame, inside system onEnd callbacks are called*/ - //free ECS data - EntityManager.destroy(); + //free ECS data + EntityManager.destroy(); } ```