01 — 개요
Block
Pawn의 이동을 물리적으로 제약하는 shape 타입입니다. Pawn이 보유한 Feature에 의해 판정이 수행됩니다.
Main Thread — Read / Write
Worker Thread — Read Only
접근 패턴
Main Thread R/W
Worker Thread R/O
02 — 타입
Block 타입 목록
현재 정의된 타입과 TBD 타입입니다.
Defined
BlockCube
정육면체 형태의 Block shape. cube shape + BlockFeatures 조합.
TBD
BlockCapsule
캡슐 형태의 Block shape. 설계 예정.
TBD
BlockSphere
구 형태의 Block shape. 설계 예정.
BlockCube struct
struct BlockCube
{
public cube shape;
public BlockFeatures features;
}
shape
Block이 점유하는 cube 영역
features
이동 제약 조건을 결정하는 Feature 집합