-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Observer Pattern #5
Comments
I think we should change the mode of thinking, this is ECS, not OOP. this rep is a concurrency system with lock-free, all logic drived by "frame", ecs benifit from the the independent "system", your system can call diffrent function by changing component field, a system shoud not communicate with others directly. you can add a new single-use component with some data what you want to send to the system when you want to publish an event. |
Ok, Could you provide example of how both options would work? Thanks. |
Good idea, I'm planning to do it, the way to program is very different from what we used before, we need more examples |
For Eg, How would this be handled in your view? |
I see, you want to modify system by event,such as the time-scale of system and other system field, i think u r right, it's very useful. I will add this capability in future. |
Hi, |
Hi, this rep's apis are unstable, will be optimized or changed continuously before release version, Thanks for your proposal. |
fake_game_server example is incomplete, more usages will be added to this example. |
Sure. Understood. |
Hi,
Is there a way to use event subscription to call system functions?
Thanks
The text was updated successfully, but these errors were encountered: