update readme

This commit is contained in:
wooshings
2026-10-09 12:15:57 -07:00
parent b143e007fe
commit 57c3ad2159
+5 -5
View File
@@ -38,10 +38,10 @@ main :: proc() {
systems are procedures that run on set schedules systems are procedures that run on set schedules
a schedule just determines when a producure runs\ a schedule just determines when a producure runs\
schedules are:\ schedules are:
- STARTUP\ - STARTUP
- UPDATE\ - UPDATE
- DRAW\ - DRAW
`STARTUP` runs once at the start of an app\ `STARTUP` runs once at the start of an app\
`UPDATE` runs every frame\ `UPDATE` runs every frame\
@@ -90,7 +90,7 @@ main :: proc() {
and give it new components with `add_component()` and give it new components with `add_component()`
```odin ```od\
main :: proc() { main :: proc() {
ecs.add_component(entity, &Example) // make sure to pass a reference to the storage, not the component type ecs.add_component(entity, &Example) // make sure to pass a reference to the storage, not the component type
} }