TempleRespawnPlayersSystem

public class TempleRespawnPlayersSystem extends DelayedEntitySystem

System for handling templerespawnplayers mechanics. Systems contain game logic that operates on entities with specific component types.

java.lang.Object > DelayedEntitySystem > TempleRespawnPlayersSystem

Field Summary

world

final World world

Field world.

gameplayConfig

final GameplayConfig gameplayConfig

Field gameplayConfig.

config

final ForgottenTempleConfig config

Field config.

position

final Vector3d position

Field position.

ref

final Ref ref

Field ref.

spawnProvider

final ISpawnProvider spawnProvider

Field spawnProvider.

spawnPoint

final Transform spawnPoint

Field spawnPoint.

playerRef

final PlayerRef playerRef

Field playerRef.

Method Detail

TempleRespawnPlayersSystem

public public TempleRespawnPlayersSystem ()

Method TempleRespawnPlayersSystem.

tick

public void tick (final float dt, final int index, @NonNullDecl final ArchetypeChunk archetypeChunk, @NonNullDecl final Store store, @NonNullDecl final CommandBuffer commandBuffer)

Method tick.

Parameters:
final float dt
final int index
@NonNullDecl final ArchetypeChunk archetypeChunk
@NonNullDecl final Store store
@NonNullDecl final CommandBuffer commandBuffer

Teleport

public new Teleport (null, spawnPoint)

Method Teleport.

Parameters:
null null
spawnPoint spawnPoint

getQuery

public Query getQuery ()

Method getQuery.