Bastian Wagner 8704e6aac7 init
2025-10-09 19:48:54 +02:00

14 lines
400 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { Building } from "./building/building";
import { Tile } from "./tile";
export type JobType = 'cutTree' | 'returnWood' | 'idle';
export type JobPhase = 'walking' | 'working' | 'returning' | 'done';
export interface Job {
type: JobType;
targetTile: Tile;
homeBuilding: Building;
phase: JobPhase;
progress: number; // 01
workDuration: number; // Sekunden für die Arbeit
}