Skip to content

KindShape beta ​

TypeAlias of @v12-engine/editor

ts
export type KindShape = {
    ring: Vec2 & {
        radius: number;
    };
    color?: string;
} | {
    line: Vec2[];
    arrow?: boolean;
    color?: string;
};

Something a thing is drawn as, on the ground: a ring around a place, or a line through places (with an arrow at its end, when said), in a colour of its own or the thing's