public class ErrorStateRegistry extends java.lang.Object implements IErrorStateRegistry
| Constructor and Description |
|---|
ErrorStateRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlias(IErrorState state,
java.lang.String name) |
IErrorLogic |
createErrorLogic() |
IErrorState |
getErrorState(short id) |
IErrorState |
getErrorState(java.lang.String name) |
java.util.Set<IErrorState> |
getErrorStates() |
static void |
initSprites() |
void |
registerErrorState(IErrorState state) |
public void registerErrorState(IErrorState state)
registerErrorState in interface IErrorStateRegistrypublic void addAlias(IErrorState state, java.lang.String name)
addAlias in interface IErrorStateRegistrypublic IErrorState getErrorState(short id)
getErrorState in interface IErrorStateRegistrypublic IErrorState getErrorState(java.lang.String name)
getErrorState in interface IErrorStateRegistrypublic java.util.Set<IErrorState> getErrorStates()
getErrorStates in interface IErrorStateRegistrypublic IErrorLogic createErrorLogic()
createErrorLogic in interface IErrorStateRegistrypublic static void initSprites()