Interface StateObject
- All Known Implementing Classes:
StateImageObject
,StateLocation
,StateRegion
public interface StateObject
The MatchHistory keep a record of the StateObject's Snapshots. Snapshots record the results
of Actions involving this StateObject. These results can be used to run mocks or adjust
settings.
-
Method Summary
Modifier and Type Method Description void
addSnapshot(MatchSnapshot matchSnapshot)
void
addTimesActedOn()
Anchors
getAnchors()
MatchHistory
getMatchHistory()
java.lang.String
getName()
StateEnum
getOwnerStateName()
Position
getPosition()
int
getTimesActedOn()
void
setProbabilityExists(int probabilityExists)
void
setTimesActedOn(int times)
-
Method Details
-
getName
java.lang.String getName() -
getOwnerStateName
StateEnum getOwnerStateName() -
getPosition
Position getPosition() -
getAnchors
Anchors getAnchors() -
getTimesActedOn
int getTimesActedOn() -
addTimesActedOn
void addTimesActedOn() -
setTimesActedOn
void setTimesActedOn(int times) -
setProbabilityExists
void setProbabilityExists(int probabilityExists) -
getMatchHistory
MatchHistory getMatchHistory() -
addSnapshot
-