portal beta
Function of @v12-engine/engine
ts
export declare function portal(world: World, entity: Entity, to: Vec2, gate?: Entity): void;Puts a unit somewhere at once, on the nearest ground it can stand on: what a waygate and a town portal do, for a game's own rules. Told to everyone (portalUsed)