public class Mutator extends InfoMessage implements IWorldEvent, IWorldChangeEvent, IMutator
Modifier and Type | Field and Description |
---|---|
protected UnrealId |
Id
Id of the mutator.
|
protected String |
Name
Name of the mutator.
|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
Constructor and Description |
---|
Mutator()
Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package).
|
Mutator(Mutator original)
Cloning constructor.
|
Mutator(UnrealId Id,
String Name)
Creates new instance of command Mutator.
|
Modifier and Type | Method and Description |
---|---|
UnrealId |
getId()
Id of the mutator.
|
String |
getName()
Name of the mutator.
|
long |
getSimTime() |
String |
toHtmlString() |
String |
toString() |
toJsonLiteral
public static final String PROTOTYPE
protected UnrealId Id
protected String Name
public Mutator(UnrealId Id, String Name)
Id
- Id of the mutator.Name
- Name of the mutator.public Mutator(Mutator original)
public Mutator()
public long getSimTime()
getSimTime
in interface IWorldChangeEvent
getSimTime
in interface IWorldEvent
public String toString()
toString
in class InfoMessage
public String toHtmlString()
toHtmlString
in interface IMutator
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.