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

java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.CommandMessage
cz.cuni.amis.pogamut.udk.communication.messages.gbcommands.Shoot
public class Shoot
Start firing your weapon (until receives STOPSHOOT command, or run out of ammo or die). Corresponding GameBots command is SHOOT.
| Field Summary | |
|---|---|
protected boolean |
Alt
If you send True to this you will alt fire instead of normal fire. |
protected Location |
Location
Location you want to shoot at. |
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
Target
The unique Id of your target. |
| Constructor Summary | |
|---|---|
Shoot()
Creates new instance of command Shoot. |
|
Shoot(Location Location,
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target,
boolean Alt)
Creates new instance of command Shoot. |
|
Shoot(Shoot original)
Cloning constructor. |
|
| Method Summary | |
|---|---|
Location |
getLocation()
Location you want to shoot at. |
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getTarget()
The unique Id of your target. |
boolean |
isAlt()
If you send True to this you will alt fire instead of normal fire. |
Shoot |
setAlt(boolean Alt)
If you send True to this you will alt fire instead of normal fire. |
Shoot |
setLocation(Location Location)
Location you want to shoot at. |
Shoot |
setTarget(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target)
The unique Id of your target. |
String |
toHtmlString()
|
String |
toMessage()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Location Location
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target
protected boolean Alt
| Constructor Detail |
|---|
public Shoot(Location Location,
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target,
boolean Alt)
Location - Location you want to shoot at.Target - The unique Id of your target. If you specify a target, and
it is visible to you, the server will provide aim correction
and target leading for you. If not you just shoot at the
location specified.Alt - If you send True to this you will alt fire instead of normal
fire. For normal fire you don't need to send this argument
at all.public Shoot()
public Shoot(Shoot original)
| Method Detail |
|---|
public Location getLocation()
public Shoot setLocation(Location Location)
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getTarget()
public Shoot setTarget(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target)
public boolean isAlt()
public Shoot setAlt(boolean Alt)
public String toString()
toString in class CommandMessagepublic String toHtmlString()
public String toMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||