NPCBeaconSpawnJob

public class NPCBeaconSpawnJob extends SpawnJob

Class NPCBeaconSpawnJob. Provides npcbeaconspawnjob functionality for the Hytale server.

java.lang.Object > SpawnJob > NPCBeaconSpawnJob

Field Summary

roleIndex

protected int roleIndex

Field roleIndex.

player

private Ref player

Field player.

spawnsThisRound

private int spawnsThisRound

Field spawnsThisRound.

flockSize

private int flockSize

Field flockSize.

flockAsset

private FlockAsset flockAsset

Field flockAsset.

role

final Builder role

Field role.

Method Detail

NPCBeaconSpawnJob

public public NPCBeaconSpawnJob ()

Method NPCBeaconSpawnJob.

getRoleIndex

public int getRoleIndex ()

Method getRoleIndex.

getPlayer

public Ref getPlayer ()

Method getPlayer.

getSpawnsThisRound

public int getSpawnsThisRound ()

Method getSpawnsThisRound.

getFlockSize

public int getFlockSize ()

Method getFlockSize.

getFlockAsset

public FlockAsset getFlockAsset ()

Method getFlockAsset.

shouldTerminate

public boolean shouldTerminate ()

Method shouldTerminate.

budgetAvailable

public boolean budgetAvailable ()

Method budgetAvailable.

reset

public void reset ()

Method reset.

getSpawnable

public ISpawnableWithModel getSpawnable ()

Method getSpawnable.

IllegalArgumentException

public new IllegalArgumentException ("Spawn job: Role must be a spawnable (non-abstract)

Method IllegalArgumentException.

Parameters:
"Spawn job: Role must be a spawnable (non-abstract

getSpawnableName

public String getSpawnableName ()

Method getSpawnableName.

beginProbing

public void beginProbing (@Nonnull final PlayerRef targetPlayer, final int spawnsThisRound, final int roleIndex, @Nullable final FlockAsset flockDefinition)

Method beginProbing.

Parameters:
@Nonnull final PlayerRef targetPlayer
final int spawnsThisRound
final int roleIndex
@Nullable final FlockAsset flockDefinition