Skip to content

@ue-too/board-game-engine / index / LocationSystem

クラス: LocationSystem ​

定義: zone-system/zone-component.ts:61

実装 ​

  • System

コンストラクター ​

コンストラクター ​

new LocationSystem(coordinator): LocationSystem

定義: zone-system/zone-component.ts:65

パラメータ ​

coordinator ​

Coordinator

戻り値 ​

LocationSystem

プロパティ ​

entities ​

entities: Set<number>

定義: zone-system/zone-component.ts:62

の実装 ​

System.entities

メソッド ​

addEntityToZone() ​

addEntityToZone(zoneEntity, entity, direction): void

定義: zone-system/zone-component.ts:178

パラメータ ​

zoneEntity ​

number

entity ​

number

direction ​

"top" | "bottom"

戻り値 ​

void


getEntitiesInZone() ​

getEntitiesInZone(zoneEntity): number[]

定義: zone-system/zone-component.ts:86

パラメータ ​

zoneEntity ​

number

戻り値 ​

number[]


isZoneEmpty() ​

isZoneEmpty(zoneEntity): boolean

定義: zone-system/zone-component.ts:217

パラメータ ​

zoneEntity ​

number

戻り値 ​

boolean


offsetZoneSortIndex() ​

offsetZoneSortIndex(zoneEntity, offset): void

定義: zone-system/zone-component.ts:120

パラメータ ​

zoneEntity ​

number

offset ​

number

戻り値 ​

void


organizeZoneSortIndex() ​

organizeZoneSortIndex(zoneEntity): number

定義: zone-system/zone-component.ts:136

パラメータ ​

zoneEntity ​

number

戻り値 ​

number


shuffleZone() ​

shuffleZone(zoneEntity): void

定義: zone-system/zone-component.ts:154

パラメータ ​

zoneEntity ​

number

戻り値 ​

void