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 SummaryConstructors
- 
Method SummaryModifier 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- 
getDirectionReturns the direction of theAiObject's position.- Returns:
- the direction of the AiObject's position.
 
- 
setDirectionSets the direction of theAiObject's position.- Parameters:
- direction- the direction of the- AiObject's position.
 
- 
getIndexpublic int getIndex()Returns the 0-based index of theAiObject's position.- Returns:
- the 0-based index of the AiObject's position.
 
- 
setIndexpublic void setIndex(int index) Sets the 0-based index of theAiObject's position.- Parameters:
- index- the 0-based index of the- AiObject's position.
 
- 
getProperties- Specified by:
- getPropertiesin interface- com.hp.lft.sdk.internal.GroupedProperty
 
- 
toString
 
-