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;      // 0–1
  workDuration: number;  // Sekunden für die Arbeit
}