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

java.lang.Objectcz.cuni.amis.pogamut.ut2004.agent.navigation.navmesh.formation.Formation
public class Formation
A class able to make agents hold formations
| Constructor Summary | |
|---|---|
Formation(UT2004BotModuleController bot)
|
|
| Method Summary | |
|---|---|
javax.vecmath.Vector2d |
getDirection()
|
double |
getDistance()
|
Player |
getLeader()
Getters |
Location |
getLeaderLastSeenLocation()
|
long |
getLeaderLastTimeSeen()
|
void |
holdFormation()
Makes the bot move to the proper place |
int |
howLongLeaderNotSeen()
How many seconds did the bot not seen his leader? |
void |
setDirection(javax.vecmath.Vector2d direction)
|
void |
setDistance(double distance)
|
void |
setLeader(Player leader)
Setters |
void |
updateLeaderInfo()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Formation(UT2004BotModuleController bot)
throws Exception
Exception| Method Detail |
|---|
public void holdFormation()
public void updateLeaderInfo()
public int howLongLeaderNotSeen()
public void setLeader(Player leader)
public void setDirection(javax.vecmath.Vector2d direction)
public void setDistance(double distance)
public Player getLeader()
public javax.vecmath.Vector2d getDirection()
public double getDistance()
public Location getLeaderLastSeenLocation()
public long getLeaderLastTimeSeen()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||