public class TargetLine
extends java.lang.Object
Constructor and Description |
---|
TargetLine(IStage stage,
java.util.logging.Logger log,
IItem source,
java.util.ArrayList<IItem> targets)
Instantiates a new target line.
|
Modifier and Type | Method and Description |
---|---|
IItem |
getCurrentTarget()
Gets the current target.
|
boolean |
getNextTarget()
Gets the next target.
|
boolean |
getPreviousTarget()
Gets the previous target.
|
void |
hideLine()
Hide line.
|
void |
remove()
Removes the.
|
void |
setColour(com.jme3.math.ColorRGBA colour)
Sets the colour.
|
void |
showLine()
Show line.
|
public IItem getCurrentTarget()
public boolean getNextTarget()
public boolean getPreviousTarget()
public void hideLine()
public void remove()
public void setColour(com.jme3.math.ColorRGBA colour)
colour
- the new colourpublic void showLine()