18 lines
386 B
TypeScript
18 lines
386 B
TypeScript
|
module SpaceTac.Game.AI {
|
||
|
"use strict";
|
||
|
|
||
|
// A chain of Maneuver to execute sequentially
|
||
|
export class ManeuverChain {
|
||
|
// Concerned ship
|
||
|
ship: Ship;
|
||
|
|
||
|
// Sequence of maneuvers
|
||
|
maneuvers: Maneuver[];
|
||
|
|
||
|
constructor(ship: Ship, maneuvers: Maneuver[]) {
|
||
|
this.ship = ship;
|
||
|
this.maneuvers = maneuvers;
|
||
|
}
|
||
|
}
|
||
|
}
|