NPCMountComponent

public class NPCMountComponent implements Component

Component for tracking npcmount state. Attach this component to entities that need to track npcmount data.

java.lang.Object > NPCMountComponent

Field Summary

originalRoleIndex

private int originalRoleIndex

Field originalRoleIndex.

ownerPlayerRef

private PlayerRef ownerPlayerRef

Field ownerPlayerRef.

anchorX

private float anchorX

Field anchorX.

anchorY

private float anchorY

Field anchorY.

anchorZ

private float anchorZ

Field anchorZ.

component

final NPCMountComponent component

Field component.

Method Detail

getComponentType

public NPCMountComponent> getComponentType ()

Method getComponentType.

getOriginalRoleIndex

public int getOriginalRoleIndex ()

Method getOriginalRoleIndex.

setOriginalRoleIndex

public void setOriginalRoleIndex (final int originalRoleIndex)

Method setOriginalRoleIndex.

Parameters:
final int originalRoleIndex

getOwnerPlayerRef

public PlayerRef getOwnerPlayerRef ()

Method getOwnerPlayerRef.

setOwnerPlayerRef

public void setOwnerPlayerRef (final PlayerRef ownerPlayerRef)

Method setOwnerPlayerRef.

Parameters:
final PlayerRef ownerPlayerRef

getAnchorX

public float getAnchorX ()

Method getAnchorX.

getAnchorY

public float getAnchorY ()

Method getAnchorY.

getAnchorZ

public float getAnchorZ ()

Method getAnchorZ.

setAnchor

public void setAnchor (final float x, final float y, final float z)

Method setAnchor.

Parameters:
final float x
final float y
final float z

clone

public Component clone ()

Method clone.