StaminaSystems

public class StaminaSystems

Class StaminaSystems. Provides staminasystems functionality for the Hytale server.

java.lang.Object > StaminaSystems

Field Summary

movementStates

final MovementStatesComponent movementStates

Field movementStates.

regenDelay

final SprintStaminaRegenDelay regenDelay

Field regenDelay.

statMap

final EntityStatMap statMap

Field statMap.

statValue

final EntityStatValue statValue

Field statValue.

resource

final SprintStaminaRegenDelay resource

Field resource.

gameplayConfig

final GameplayConfig gameplayConfig

Field gameplayConfig.

staminaConfig

final StaminaGameplayConfig staminaConfig

Field staminaConfig.

Method Detail

SprintStaminaEffectSystem

public public SprintStaminaEffectSystem ()

Method SprintStaminaEffectSystem.

SystemDependency

public new SystemDependency (Order.BEFORE, MovementStatesSystems.TickingSystem.class)

Method SystemDependency.

Parameters:
Order.BEFORE Order.BEFORE
MovementStatesSystems.TickingSystem.class MovementStatesSystems.TickingSystem.class

getQuery

public Query getQuery ()

Method getQuery.

getDependencies

public Set> getDependencies ()

Method getDependencies.

tick

public void tick (final float dt, final int systemIndex, @Nonnull final Store store)

Method tick.

Parameters:
final float dt
final int systemIndex
@Nonnull final Store store

updateResource

protected boolean updateResource (@Nonnull final Store store)

Method updateResource.

Parameters:
@Nonnull final Store store