Skip to content
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

Components should only access states and elapsed times of their influencers/influencees #2

Open
RomainFranceschini opened this issue Jun 19, 2017 · 0 comments

Comments

@RomainFranceschini
Copy link
Owner

MultiPDEVS components hold a reference to other components through @influencers and @influencees ivars, and thus might affect the state of other components at any point.

Components should only access states and elapsed times of their influencers/influencees, preferably lazily since Component#state copies state variables in a dedicated struct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant