import { board } from "./../board"; export declare enum MilitaryBranch { Army = 1, Fleet = 2, } export declare enum Phase { Movement = 1, Retreat = 2, Build = 3, } export interface Turn { /** * The flag whether there is a build phase in this turn. */ isBuildable: boolean; isOccupationUpdateable: boolean; /** * @return The next turn (For example, 1901 Autumn if this instance represents 1901 Spring) */ nextTurn(): Turn; } export declare class State { turn: Turn; phase: Phase; constructor(turn: Turn, phase: Phase); } /** * Status that an unit is dislodged */ export declare class Dislodged { attackedFrom: board.Province; /** * @param attackedFrom - The province that the unit is attacked from */ constructor(attackedFrom: board.Province); } /** * Status of the province */ export declare class ProvinceStatus { occupied: Power | null; standoff: boolean; /** * @param occupied * The power that occupies the province. The province is neutral if this property is null * @param standoff The flag whether standoff is occurred or not */ constructor(occupied: Power | null, standoff: boolean); } export declare enum Result { Success = 1, Failed = 2, Dislodged = 3, Bounced = 4, Cut = 5, Standoff = 6, NoCorrespondingOrder = 7, }