Package com.hp.lft.sdk.ai
Class Position
java.lang.Object
com.hp.lft.sdk.ai.Position
- All Implemented Interfaces:
Locator,com.hp.lft.sdk.internal.GroupedProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the direction of theAiObject's position.intgetIndex()Returns the 0-based index of theAiObject's position.voidsetDirection(Direction direction) Sets the direction of theAiObject's position.voidsetIndex(int index) Sets the 0-based index of theAiObject's position.toString()
-
Constructor Details
-
Position
- Parameters:
direction- the direction in which to count the position index.index- The ordinal number of the object in the context. Starting with 0 for the first object. The objects that match the description are counted in the direction specified.
-
-
Method Details
-
getDirection
Returns the direction of theAiObject's position.- Returns:
- the direction of the
AiObject's position.
-
setDirection
Sets the direction of theAiObject's position.- Parameters:
direction- the direction of theAiObject's position.
-
getIndex
public int getIndex()Returns the 0-based index of theAiObject's position.- Returns:
- the 0-based index of the
AiObject's position.
-
setIndex
public void setIndex(int index) Sets the 0-based index of theAiObject's position.- Parameters:
index- the 0-based index of theAiObject's position.
-
getProperties
- Specified by:
getPropertiesin interfacecom.hp.lft.sdk.internal.GroupedProperty
-
toString
-