|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.communication.messages.CommandMessage cz.cuni.amis.pogamut.udk.communication.messages.gbcommands.SpawnActor
public class SpawnActor
Will spawn an actor in the game specified by Type (holds the class of the actor). Be carefull with what you spawn and where you spawn it. Possible use - for some additional inventory spawns. Corresponding GameBots command is SPAWNACTOR.
Field Summary | |
---|---|
protected Location |
Location
Location where the actor will be spawned. |
protected Rotation |
Rotation
Initial rotation of the actor. |
protected String |
Type
Holds the desired actor class (e.g. |
Constructor Summary | |
---|---|
SpawnActor()
Creates new instance of command SpawnActor. |
|
SpawnActor(Location Location,
Rotation Rotation,
String Type)
Creates new instance of command SpawnActor. |
|
SpawnActor(SpawnActor original)
Cloning constructor. |
Method Summary | |
---|---|
Location |
getLocation()
Location where the actor will be spawned. |
Rotation |
getRotation()
Initial rotation of the actor. |
String |
getType()
Holds the desired actor class (e.g. |
SpawnActor |
setLocation(Location Location)
Location where the actor will be spawned. |
SpawnActor |
setRotation(Rotation Rotation)
Initial rotation of the actor. |
SpawnActor |
setType(String Type)
Holds the desired actor class (e.g. |
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 Rotation Rotation
protected String Type
Constructor Detail |
---|
public SpawnActor(Location Location, Rotation Rotation, String Type)
Location
- Location where the actor will be spawned.Rotation
- Initial rotation of the actor.Type
- Holds the desired actor class (e.g.
LinkGun.WeaponPickup).public SpawnActor()
public SpawnActor(SpawnActor original)
Method Detail |
---|
public Location getLocation()
public SpawnActor setLocation(Location Location)
public Rotation getRotation()
public SpawnActor setRotation(Rotation Rotation)
public String getType()
public SpawnActor setType(String Type)
public String toString()
toString
in class CommandMessage
public String toHtmlString()
public String toMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |