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

Frozen organisms Refactoring #6

Closed
tmptrash opened this issue Aug 27, 2017 · 0 comments
Closed

Frozen organisms Refactoring #6

tmptrash opened this issue Aug 27, 2017 · 0 comments
Assignees
Labels

Comments

@tmptrash
Copy link
Owner

если организм frozen нужно вообще не передавать ему управление еще в главном цикле ManagerOrganism._updateOrganisms(). То есть, не вызывать на нем yieldto(). Везде в коде нужно убрать проверки на haskey(man.cons.frozen,... еще нужно: в _moveOrganism() вместо error() нужно вызывать yieldto(man.task)

@tmptrash tmptrash added the new label Aug 27, 2017
@tmptrash tmptrash self-assigned this Aug 27, 2017
@tmptrash tmptrash added this to the v2.0 milestone Sep 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant