Package nl.colorize.multimedialib.scene
Interface State
-
- All Known Implementing Classes:
SimpleState
public interface StateStores information relevant for one of the states. States themselves are intended to be immutable, though the state machine itself obviously has state.This interface can be used in two ways. The first is to implement the interface in custom state classes or enums, and store all configuration related to those states in the class. The second approach is to use the
SimpleStateimplementation to avoid having to create state classes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetDuration()java.lang.StringgetName()StategetNext()booleanisInterruptable()
-
-
-
Method Detail
-
getName
java.lang.String getName()
-
getDuration
float getDuration()
-
getNext
State getNext()
-
isInterruptable
boolean isInterruptable()
-
-