Davide Tantillo 93c56d08d0 c3 backup
2025-11-03 15:16:29 +01:00

18 lines
748 B
TypeScript

type SineBehaviorMovementType = "horizontal" | "vertical" | "size" | "width" | "height" | "angle" | "opacity" | "value-only" | "forwards-backwards" | "z-elevation";
type SineBehaviorWaveType = "sine" | "triangle" | "sawtooth" | "reverse-sawtooth" | "square";
/** Represents the Sine behavior.
* @see {@link https://www.construct.net/make-games/manuals/construct-3/scripting/scripting-reference/behavior-interfaces/sine | ISineBehaviorInstance documentation } */
declare class ISineBehaviorInstance<InstType> extends IBehaviorInstance<InstType>
{
period: number;
magnitude: number;
phase: number;
movement: SineBehaviorMovementType;
wave: SineBehaviorWaveType;
readonly value: number;
updateInitialState(): void;
isEnabled: boolean;
}