public class SpawnActor extends CommandMessage
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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() |
protected Location Location
protected Rotation Rotation
protected String Type
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)
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()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.