BeaconSpawnWrapper

public class BeaconSpawnWrapper extends SpawnWrapper

Class BeaconSpawnWrapper. Provides beaconspawnwrapper functionality for the Hytale server.

java.lang.Object > SpawnWrapper > BeaconSpawnWrapper

Field Summary

mapBuilder

final WeightedMap.Builder mapBuilder

Field mapBuilder.

minDistance

final double minDistance

Field minDistance.

targetDistance

final double targetDistance

Field targetDistance.

Method Detail

BeaconSpawnWrapper

public public BeaconSpawnWrapper (@Nonnull final BeaconNPCSpawn spawn)

Method BeaconSpawnWrapper.

Parameters:
@Nonnull final BeaconNPCSpawn spawn

getMinDistanceFromPlayerSquared

public double getMinDistanceFromPlayerSquared ()

Method getMinDistanceFromPlayerSquared.

getTargetDistanceFromPlayerSquared

public double getTargetDistanceFromPlayerSquared ()

Method getTargetDistanceFromPlayerSquared.

getBeaconRadius

public double getBeaconRadius ()

Method getBeaconRadius.

getSpawnRadius

public double getSpawnRadius ()

Method getSpawnRadius.

pickRole

public RoleSpawnParameters pickRole (final Random chanceProvider)

Method pickRole.

Parameters:
final Random chanceProvider