@goldenratio/karlib
    Preparing search index...

    Type Alias BehaviorEntryType

    BehaviorEntryType:
        | { config: { texture: string }; type: "textureSingle" }
        | { config: { textures: readonly string[] }; type: "textureRandom" }
        | { config: { anim: AnimFrame }; type: "animatedSingle" }
        | { config: { anims: AnimFrame[] }; type: "animatedRandom" }
        | {
            config: { color: { list: readonly EmitterConfigValue<string>[] } };
            type: "color";
        }
        | { config: { color: string }; type: "colorStatic" }
        | {
            config: {
                min_mult: number;
                scale: { list: readonly EmitterConfigValue<number>[] };
            };
            type: "scale";
        }
        | { config: EmitterRandNumber; type: "scaleStatic" }
        | {
            config: {
                min_mult: number;
                speed: { list: readonly EmitterConfigValue<number>[] };
            };
            type: "moveSpeed";
        }
        | { config: EmitterRandNumber; type: "moveSpeedStatic" }
        | {
            config: {
                accel: Point;
                max_speed: number;
                max_start: number;
                min_start: number;
                rotate: boolean;
            };
            type: "moveAcceleration";
        }
        | {
            config: { alpha: { list: readonly EmitterConfigValue<number>[] } };
            type: "alpha";
        }
        | { config: { alpha: number }; type: "alphaStatic" }
        | { config: {}; type: "noRotation" }
        | {
            config: {
                accel: number;
                max_speed: number;
                max_start: number;
                min_speed: number;
                min_start: number;
            };
            type: "rotation";
        }
        | { config: EmitterRandNumber; type: "rotationStatic" }
        | { config: {}; type: "spawnPoint" }
        | { config: { spacing: number; start: number }; type: "spawnBurst" }
        | {
            config:
                | {
                    data: { h: number; w: number; x: number; y: number };
                    type: "rect";
                }
                | {
                    data: {
                        affect_rotation: boolean;
                        inner_radius: number;
                        radius: number;
                        x: number;
                        y: number;
                    };
                    type: "torus";
                };
            type: "spawnShape";
        }