Package de.f0rce.ace.util
Class AceCustomMode
java.lang.Object
de.f0rce.ace.util.AceCustomMode
public class AceCustomMode
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description AceCustomMode() -
Method Summary
Modifier and Type Method Description voidaddStartState(AceCustomModeRule... rules)Add the start state to the mode (which is required).voidaddState(java.lang.String stateName, AceCustomModeRule... rules)Add a new state to the custom mode which can be accessed by a rule if wanted withAceCustomModeRule.setNext(String).
-
Constructor Details
-
AceCustomMode
public AceCustomMode()
-
-
Method Details
-
addStartState
Add the start state to the mode (which is required).- Parameters:
rules- AceCustomModeRule[]
-
addState
Add a new state to the custom mode which can be accessed by a rule if wanted withAceCustomModeRule.setNext(String). Make sure to useaddStartState(AceCustomModeRule...)or you will run against errors.- Parameters:
stateName-Stringrules- AceCustomModeRule[]
-