|
|||||||||
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.ut2004.communication.messages.gbcommands.SetEmotionalEmitter
public class SetEmotionalEmitter
Representation of the GameBots2004 command SETEMIT. Sets the emotional emitter for the bot and configures it. The emitter will float at the bots head following the bot.
Field Summary | |
---|---|
protected java.lang.Boolean |
Disable
If true disables actual emittor (it will dissappear). |
protected Velocity |
EndVelocity
This is relative velocity direction vector that will affect the speed and direction of the balls going in. |
protected Vector3d |
FadeTime
This will affect the fade in and fade out times of the balls. |
protected Vector3d |
FirstC
Starting color of the floating balls. |
protected java.lang.Double |
LifeTime
This will affect the life time of the balls and radius and speed they will be traversing. |
protected java.lang.Boolean |
Pause
Should pause the emitter, does not work right now. |
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected Vector3d |
SecondC
Finishing color of the floating balls. |
protected Vector3d |
Size
This will affect the size of the balls. |
protected Velocity |
StartVelocity
This is relative velocity direction vector that will affect the speed and direction of the balls going out. |
protected java.lang.Double |
VelocityRange
This will affect the speed of the balls. |
Constructor Summary | |
---|---|
SetEmotionalEmitter()
Creates new instance of command SetEmotionalEmitter. |
|
SetEmotionalEmitter(java.lang.Boolean Disable,
java.lang.Boolean Pause,
Vector3d FirstC,
Vector3d SecondC,
Velocity StartVelocity,
Velocity EndVelocity,
java.lang.Double VelocityRange,
Vector3d Size,
java.lang.Double LifeTime,
Vector3d FadeTime)
Creates new instance of command SetEmotionalEmitter. |
|
SetEmotionalEmitter(SetEmotionalEmitter original)
Cloning constructor. |
Method Summary | |
---|---|
Velocity |
getEndVelocity()
This is relative velocity direction vector that will affect the speed and direction of the balls going in. |
Vector3d |
getFadeTime()
This will affect the fade in and fade out times of the balls. |
Vector3d |
getFirstC()
Starting color of the floating balls. |
java.lang.Double |
getLifeTime()
This will affect the life time of the balls and radius and speed they will be traversing. |
Vector3d |
getSecondC()
Finishing color of the floating balls. |
Vector3d |
getSize()
This will affect the size of the balls. |
Velocity |
getStartVelocity()
This is relative velocity direction vector that will affect the speed and direction of the balls going out. |
java.lang.Double |
getVelocityRange()
This will affect the speed of the balls. |
java.lang.Boolean |
isDisable()
If true disables actual emittor (it will dissappear). |
java.lang.Boolean |
isPause()
Should pause the emitter, does not work right now. |
SetEmotionalEmitter |
setDisable(java.lang.Boolean Disable)
If true disables actual emittor (it will dissappear). |
SetEmotionalEmitter |
setEndVelocity(Velocity EndVelocity)
This is relative velocity direction vector that will affect the speed and direction of the balls going in. |
SetEmotionalEmitter |
setFadeTime(Vector3d FadeTime)
This will affect the fade in and fade out times of the balls. |
SetEmotionalEmitter |
setFirstC(Vector3d FirstC)
Starting color of the floating balls. |
SetEmotionalEmitter |
setLifeTime(java.lang.Double LifeTime)
This will affect the life time of the balls and radius and speed they will be traversing. |
SetEmotionalEmitter |
setPause(java.lang.Boolean Pause)
Should pause the emitter, does not work right now. |
SetEmotionalEmitter |
setSecondC(Vector3d SecondC)
Finishing color of the floating balls. |
SetEmotionalEmitter |
setSize(Vector3d Size)
This will affect the size of the balls. |
SetEmotionalEmitter |
setStartVelocity(Velocity StartVelocity)
This is relative velocity direction vector that will affect the speed and direction of the balls going out. |
SetEmotionalEmitter |
setVelocityRange(java.lang.Double VelocityRange)
This will affect the speed of the balls. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toMessage()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROTOTYPE
protected java.lang.Boolean Disable
protected java.lang.Boolean Pause
protected Vector3d FirstC
protected Vector3d SecondC
protected Velocity StartVelocity
protected Velocity EndVelocity
protected java.lang.Double VelocityRange
protected Vector3d Size
protected java.lang.Double LifeTime
protected Vector3d FadeTime
Constructor Detail |
---|
public SetEmotionalEmitter(java.lang.Boolean Disable, java.lang.Boolean Pause, Vector3d FirstC, Vector3d SecondC, Velocity StartVelocity, Velocity EndVelocity, java.lang.Double VelocityRange, Vector3d Size, java.lang.Double LifeTime, Vector3d FadeTime)
Disable
- If true disables actual emittor (it will dissappear). No other attributes will be parsed.Pause
- Should pause the emitter, does not work right now.FirstC
- Starting color of the floating balls.SecondC
- Finishing color of the floating balls.StartVelocity
- This is relative velocity direction vector that will affect the speed and direction of the balls
going out. Default (2,2,2).EndVelocity
- This is relative velocity direction vector that will affect the speed and direction of the balls
going in. Default (-10,-10,-10).VelocityRange
- This will affect the speed of the balls. Default -20.Size
- This will affect the size of the balls. Default (4,4,8).LifeTime
- This will affect the life time of the balls and radius and speed they will
be traversing. Default 1.6.FadeTime
- This will affect the fade in and fade out times of the balls. First value affects
the starting fade out time. Second value will affect ending fade in time. The third
value in the vector is ignored.public SetEmotionalEmitter()
public SetEmotionalEmitter(SetEmotionalEmitter original)
original
- Method Detail |
---|
public java.lang.Boolean isDisable()
public SetEmotionalEmitter setDisable(java.lang.Boolean Disable)
public java.lang.Boolean isPause()
public SetEmotionalEmitter setPause(java.lang.Boolean Pause)
public Vector3d getFirstC()
public SetEmotionalEmitter setFirstC(Vector3d FirstC)
public Vector3d getSecondC()
public SetEmotionalEmitter setSecondC(Vector3d SecondC)
public Velocity getStartVelocity()
public SetEmotionalEmitter setStartVelocity(Velocity StartVelocity)
public Velocity getEndVelocity()
public SetEmotionalEmitter setEndVelocity(Velocity EndVelocity)
public java.lang.Double getVelocityRange()
public SetEmotionalEmitter setVelocityRange(java.lang.Double VelocityRange)
public Vector3d getSize()
public SetEmotionalEmitter setSize(Vector3d Size)
public java.lang.Double getLifeTime()
public SetEmotionalEmitter setLifeTime(java.lang.Double LifeTime)
public Vector3d getFadeTime()
public SetEmotionalEmitter setFadeTime(Vector3d FadeTime)
public java.lang.String toString()
toString
in class CommandMessage
public java.lang.String toHtmlString()
public java.lang.String toMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |