Skip to content

Commit

Permalink
Merge branch '4.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
baiXfeng committed Apr 15, 2024
2 parents 14b7e28 + 35f5c01 commit 54b572f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@ world.add_system("s1", ecs_system.new())
world.add_system("s2", ecs_system.new())
world.add_system("s2", ecs_system.new())
# run system
world.on_physics_process("s1", delta)
world.on_process("s1", delta)
# add command
world.add_command("my_command", ecs_command)
# send notification
world.notify("my_notification", with_param)
world.notify("my_command", with_param)
# fetch components
var component_list = world.fetch_components("c1")
Expand Down

0 comments on commit 54b572f

Please sign in to comment.