Better Harvester Handler

This commit is contained in:
2025-07-12 11:15:20 -03:00
parent 23d9739167
commit 7bee855002
3 changed files with 44 additions and 25 deletions

View File

@@ -52,6 +52,16 @@ export type ControllerDestination = {
type: "controller";
}
export type ConstructionSiteDestination = {
id: string; // ID of the construction site
type: "constructionSite";
}
export type CreepDestination = SpawnDestination | SourceDestination | ControllerDestination;
export type CreepDestination = (
SpawnDestination |
SourceDestination |
ControllerDestination |
ConstructionSiteDestination
);