Something went wrong. Try again.
Starship Simulator Controls thoriumsim.com
Something went wrong. Try again.
441 B · 27 lines
TypeScript
at develop
12345678910111213141516171819202122232425262728export class Orientation { static HORZ = new Orientation("horz"); static VERT = new Orientation("vert");
static flip(from: Orientation) { if (from === Orientation.HORZ) { return Orientation.VERT; } return Orientation.HORZ; }
/** @internal */ private _name: string;
/** @internal */ private constructor(name: string) { this._name = name; }
getName() { return this._name; }
toString() { return this._name; }}