|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectnl.tudelft.pogamut.ut2004.agent.module.shooting.util.FocusProvider
public final class FocusProvider
The focus point for a given location. Will self update.
| Constructor Summary | |
|---|---|
FocusProvider()
Creates a FocusProvider with no focus. |
|
FocusProvider(cz.cuni.amis.pogamut.base3d.worldview.object.ILocated focus)
Creates a FocusProvider with a given location |
|
| Method Summary | |
|---|---|
void |
clearFocus()
|
cz.cuni.amis.pogamut.base3d.worldview.object.ILocated |
getFocus()
|
cz.cuni.amis.pogamut.base3d.worldview.object.Location |
getLocation()
The location this focus is focused on. |
void |
setFocus(cz.cuni.amis.pogamut.base3d.worldview.object.ILocated focus)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FocusProvider(cz.cuni.amis.pogamut.base3d.worldview.object.ILocated focus)
focus - the focus for this FocusProviderpublic FocusProvider()
| Method Detail |
|---|
public cz.cuni.amis.pogamut.base3d.worldview.object.ILocated getFocus()
public void setFocus(cz.cuni.amis.pogamut.base3d.worldview.object.ILocated focus)
focus - the focus to setpublic cz.cuni.amis.pogamut.base3d.worldview.object.Location getLocation()
getLocation in interface cz.cuni.amis.pogamut.base3d.worldview.object.ILocatedpublic String toString()
toString in class Objectpublic void clearFocus()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||