+ /*
+ * Frame timings, for a base frame length of 2s:
+ * - first half: stone throw
+ * - second half: troll move
+ * The troll message is anchored around the troll move.
+ *
+ * The castle destruction is currently ad hoc simultaneously with
+ * the troll move, but this ought to change if I get some
+ * lengthened frame system ready.
+ *
+ * The endgame message is completely ad hoc, and really ought to
+ * improve.
+ */
+ private final double AVATAR_ANIMATION_START = 0.5;
+ private final double STONE_THROW_START = 0.0;
+ private final double STONE_THROW_PEAK = 0.25;
+ private final double STONE_THROW_END = 0.5;
+ private final double CASTLE_DESTRUCTION_START = 0.5;
+ private final double CASTLE_DESTRUCTION_END = 1.0;
+ private final double TROLL_MOVE_START = 0.5;
+ private final double TROLL_MOVE_END = 1.0;
+ private final double TROLL_MESSAGE_START = 0.5;
+ private final double TROLL_MESSAGE_END = 1.0;
+ private final double ENDGAME_MESSAGE_START = 0.25;
+