Skip to content

canBoard beta ​

Function of @v12-engine/engine

ts
export declare function canBoard(world: World, passenger: Entity, transport: Entity): boolean;

Whether a unit can get into a transport: one of its side's that has room, and a unit that walks. What flies, what sails and what carries others do not get in