type Layout = 'Portrait' | 'Landscape';
type PieceMoveable = "No" | "IfWresting" | "Yes";
type CompassAngle = number;
+type FaceId = number;
type UoDescription = {
kind: UoKind;
links_elem.innerHTML = msg
}
-messages.MoveHistEnt = <MessageHandler>function
-(todo: object) {
+// ---------- movehist ----------
+
+type MoveHistEnt = {
+ held: PlayerId,
+ posx: [MoveHistPosx, MoveHistPosx],
+}
+type MoveHistPosx = {
+ pos: Pos,
+ angle: CompassAngle,
+ facehint: FaceId | null,
+}
+
+messages.MoveHistEnt = <MessageHandler>movehist_record;
+
+function movehist_record(ent: MoveHistEnt) {
+
}
// ----- logs -----