CutTime beta
Class of @v12-engine/client
export declare class CutTimeSlow motion and freezes (cut.speed): see the top of this file. A rate holds until another, reset, or the cinematic is over; with seconds, it is put back after them (of the screen's: slowing the game does not slow the cinematic)
Members
constructor
constructor(cut: Cut);Constructs a new instance of the CutTime class
freeze
freeze(seconds?: number): Promise<void>;The game stands still on the screen, for seconds when given
local
get local(): boolean;Whether the game's own speed is slowed (it runs in this page), not only its animations
rate
rate(rate: number, seconds?: number): Promise<void>;The game at rate of its speed, for seconds when given (then as it was)
reset
reset(): void;The game's speed as it was
run
run(rate?: number, seconds?: number): Promise<void>;The world goes on at rate (1 its speed) though the cinematic holds it (PlayOptions.hold), for seconds when given: the units it ordered march, a fight plays out. It stands still again after, while the cinematic holds it
slow
slow(rate: number, seconds?: number): Promise<void>;Slow motion: the game at rate of its speed (0.25 a quarter), for seconds when given