public class FrostbiteStateParser extends java.lang.Object implements StateParser
Constructor and Description |
---|
FrostbiteStateParser(Domain domain)
Initializes for the specific frostbite domain instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
stateToString(State s)
Converts state s into a parsable string representation.
|
State |
stringToState(java.lang.String str)
Converts a string into a State object assuming the string representation was produced using this state parser.
|
public FrostbiteStateParser(Domain domain)
domain
- public java.lang.String stateToString(State s)
StateParser
stateToString
in interface StateParser
s
- the state to convertpublic State stringToState(java.lang.String str)
StateParser
stringToState
in interface StateParser
str
- a string representation of a state