public HitState(HighlightState highlightState, int pressedLength) : base(highlightState.Standard) { highlight = highlightState.Highlighter; counter = 0; interval = pressedLength; }
public HitState(HighlightState highlightState) : base(highlightState.Standard) { highlight = highlightState.Highlighter; counter = 0; interval = 5; }
public OptionType(string stringText, string fontName, Color color, Vector2 stringVector, string rState, Rectangle highlightRect, string highlightName, TextAlignment textAlignment) { option = new StandardState(new StringType(stringText, stringVector, color), fontName); highlighted = new HighlightState(option, highlightRect, highlightName); menuLink = rState; action = OptionAction.next; alignment = textAlignment; activateTransition = true; activateSelected = true; state = OptionState.standard; }
public OptionType(string stringText, string fontName, Color color, Vector2 stringVector, OptionAction optionAction, bool activate, Rectangle highlightRect, string highlightName) { option = new StandardState(new StringType(stringText, stringVector, color), fontName); highlighted = new HighlightState(option, highlightRect, highlightName); menuLink = state.ToString(); action = optionAction; alignment = TextAlignment.right; activateTransition = activate; activateSelected = true; state = OptionState.standard; }