Skip to content

siteOf beta ​

Function of @v12-engine/engine

ts
export declare function siteOf(def: UnitTypeDef, point: Vec2): Rect & {
    cellX: number;
    cellZ: number;
};

Ground a structure of this type covers when placed at point