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

Add Production Handling #2

Open
kelly-cs opened this issue Jun 25, 2020 · 0 comments
Open

Add Production Handling #2

kelly-cs opened this issue Jun 25, 2020 · 0 comments
Assignees
Labels
Requirement This MUST be completed for basic function of the tool. It is not simply an enhancement.

Comments

@kelly-cs
Copy link
Owner

Currently there is no system to handle the production of units or structures. However, a system has been created to handle the adding/removal of workers from the mineral line in order to build structures.

This could be done with some kind of class, but the biggest issue is going to come from Terran and Protoss production. We will need to account for producing units through different buildings, and factor in the quantity of such buildings. It might be wise to just shove this off to a new class.

Protoss are going to need a way to interact with the Base class, since it has the Chrono boost ability. This ability will be vital for build orders, and it needs to be accessible to all buildings. Therefore, the Base class will likely need a permanent reference to some sort of list of production/tech facilities.

Zerg will be really easy - just subtracting larvae from the bases and adding the units to some sort of queue after confirming the required tech is achieved.

@kelly-cs kelly-cs self-assigned this Jun 25, 2020
@kelly-cs kelly-cs added the TODO label Jun 25, 2020
@kelly-cs kelly-cs added Requirement This MUST be completed for basic function of the tool. It is not simply an enhancement. and removed TODO labels Jun 26, 2020
@kelly-cs kelly-cs added this to the Alpha ☼ Zerg milestone Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Requirement This MUST be completed for basic function of the tool. It is not simply an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant