public class DeployableAoeConfig extends DeployableConfig
Class DeployableAoeConfig. Provides deployableaoeconfig functionality for the Hytale server.
java.lang.Object > DeployableConfig > DeployableAoeConfig
Field Summary
startRadius
Field startRadius.
endRadius
Field endRadius.
radiusChangeTime
Field radiusChangeTime.
damageInterval
Field damageInterval.
damageAmount
Field damageAmount.
damageCause
Field damageCause.
effectsToApply
Field effectsToApply.
attackOwner
Field attackOwner.
attackTeam
Field attackTeam.
attackEnemies
Field attackEnemies.
shape
Field shape.
height
Field height.
processedDamageCause
Field processedDamageCause.
position
Field position.
world
Field world.
entityRef
Field entityRef.
radius
Field radius.
deployableRef
Field deployableRef.
damageEntry
Field damageEntry.
effectController
Field effectController.
effectAsset
Field effectAsset.
isOwner
Field isOwner.
radiusDiff
Field radiusDiff.
increment
Field increment.
now
Field now.
timeDiff
Field timeDiff.
nowIncrement
Field nowIncrement.
Method Detail
DeployableAoeConfig
protected
DeployableAoeConfig
()
Method DeployableAoeConfig.
tick
void
tick
(@Nonnull final DeployableComponent deployableComponent, final float dt, final int index, @Nonnull final ArchetypeChunk archetypeChunk, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method tick.
- Parameters:
@Nonnull final DeployableComponentdeployableComponentfinal floatdtfinal intindex@Nonnull final ArchetypeChunkarchetypeChunk@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
handleDetection
void
handleDetection
(final Store store, final CommandBuffer commandBuffer, final Ref deployableRef, final DeployableComponent deployableComponent, final Vector3d position, final float radius, final DamageCause damageCause)
Method handleDetection.
- Parameters:
final Storestorefinal CommandBuffercommandBufferfinal RefdeployableReffinal DeployableComponentdeployableComponentfinal Vector3dpositionfinal floatradiusfinal DamageCausedamageCause
handleDebugGraphics
void
handleDebugGraphics
(final World world, final Vector3f color, final Vector3d position, final float scale)
Method handleDebugGraphics.
- Parameters:
final Worldworldfinal Vector3fcolorfinal Vector3dpositionfinal floatscale
attackTarget
void
attackTarget
(final Ref targetRef, final Ref ownerRef, final DamageCause damageCause, final CommandBuffer commandBuffer)
Method attackTarget.
- Parameters:
final ReftargetReffinal RefownerReffinal DamageCausedamageCausefinal CommandBuffercommandBuffer
Damage
new
Damage
(new Damage.EntitySource(ownerRef)
Method Damage.
- Parameters:
newDamage.EntitySource(ownerRef
canAttackEntity
Method canAttackEntity.
- Parameters:
final Reftargetfinal DeployableComponentdeployable
toString
String
toString
()
Method toString.
RadiusChangeTime
the
RadiusChangeTime
(RadiusChangeTime must be set)
Method RadiusChangeTime.
- Parameters:
RadiusChangeTime must beset
time
The
time
(starting at spawn)
Method time.
- Parameters:
starting atspawn