diff --git a/README.md b/README.md index 1534387..3d7d16c 100644 --- a/README.md +++ b/README.md @@ -42,21 +42,21 @@ struct Position { float val; }; struct Velocity { float val; }; struct MoverSystem { - static void OnUpdate(Schedule& schedule) { - schedule.RegisterEntityJob( - [](const Velocity* v, Position* p) { - p->val += v->val; - }, - "Mover" - ); - } + static void OnUpdate(Schedule& schedule) { + schedule.RegisterEntityJob( + [](const Velocity* v, Position* p) { + p->val += v->val; + }, + "Mover" + ); + } }; int main() { - World w; - w.systemMngr.RegisterAndActivate(); - w.entityMngr.Create(); - w.Update(); + World w; + w.systemMngr.RegisterAndActivate(); + w.entityMngr.Create(); + w.Update(); } ```