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

Calculate task time within the Robot class #1345

Merged
merged 1 commit into from
May 12, 2023
Merged

Calculate task time within the Robot class #1345

merged 1 commit into from
May 12, 2023

Conversation

DanRStevens
Copy link
Member

The Robot should know how long a task will take, given the terrain parameters, and which robot type and task is being performed. It should not be dictated by an external actor how long an action must take.

Note that when mines are placed, the terrain is bulldozed, so RoboMiner task times don't actually vary by terrain type. (Terrain type effectively contributes 0 turns to the task time).

Loosely related to #1335.

The `Robot` should know how long a task will take, given the terrain parameters, and which robot type and task is being performed. It should not be dictated by an external actor how long an action must take.

Note that when mines are placed, the terrain is bulldozed, so `RoboMiner` task times don't actually vary by terrain type. (Terrain type effectively contributes 0 turns to the task time).
@DanRStevens DanRStevens merged commit 8f4517a into main May 12, 2023
@DanRStevens DanRStevens deleted the robotTaskTime branch May 12, 2023 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant