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

Redesign Operation Creep Requirements #5

Open
MDLeide opened this issue Feb 18, 2018 · 2 comments
Open

Redesign Operation Creep Requirements #5

MDLeide opened this issue Feb 18, 2018 · 2 comments
Labels
architecture Related to overall program structure enhancement Update existing feature

Comments

@MDLeide
Copy link
Owner

MDLeide commented Feb 18, 2018

Operation should define only the body type that they require. When a Creep is assigned to the operation, allow it to decide its Role. This will enable existing creeps with compatible body types to be moved around from one op to another as needed.

As a result, the SpawnDefinition class will need to be reworked.

@MDLeide MDLeide added enhancement Update existing feature architecture Related to overall program structure labels Feb 19, 2018
@MDLeide
Copy link
Owner Author

MDLeide commented Feb 19, 2018

Partially completed by implementing assignments, more work to be done on the Operation to be flexible with body types.

@MDLeide
Copy link
Owner Author

MDLeide commented Feb 28, 2018

Operation.onAssignment and abstracting CreepControllers off the main Operation class and into an abstract class ControllerOperation has furthered progress on this issue. Still more, though, must be done, such as an Assignment => AcceptableBody[] map, and support for spawning in advance of a creep death.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture Related to overall program structure enhancement Update existing feature
Projects
None yet
Development

No branches or pull requests

1 participant