Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Tools.MMDebugMenuItemChoices Class Reference

A class used to bind a Choice menu item to a MMDebugMenu More...

Inheritance diagram for MoreMountains.Tools.MMDebugMenuItemChoices:

Public Member Functions

virtual void TriggerButtonEvent (int index)
 Triggers a button event of the selected index More...
 
virtual void Select (int index)
 Selects one of the buttons More...
 
virtual void Deselect ()
 Deselects all buttons More...
 

Public Attributes

Sprite SelectedSprite
 the sprite to use when the button is active More...
 
Sprite OffSprite
 the sprite to use as bg when the button is inactive More...
 
Color OnColor = Color.white
 the color to use when the button is active More...
 
Color OffColor = Color.black
 the color to use when the button is inactive More...
 
Color AccentColor = MMColors.ReunoYellow
 the color to use when the button is accented More...
 
List< MMDebugMenuChoiceEntryChoices
 a list of choices More...
 

Detailed Description

A class used to bind a Choice menu item to a MMDebugMenu

Member Function Documentation

◆ Deselect()

virtual void MoreMountains.Tools.MMDebugMenuItemChoices.Deselect ( )
virtual

Deselects all buttons

◆ Select()

virtual void MoreMountains.Tools.MMDebugMenuItemChoices.Select ( int  index)
virtual

Selects one of the buttons

Parameters
index

◆ TriggerButtonEvent()

virtual void MoreMountains.Tools.MMDebugMenuItemChoices.TriggerButtonEvent ( int  index)
virtual

Triggers a button event of the selected index

Parameters
index

Member Data Documentation

◆ AccentColor

Color MoreMountains.Tools.MMDebugMenuItemChoices.AccentColor = MMColors.ReunoYellow

the color to use when the button is accented

◆ Choices

List<MMDebugMenuChoiceEntry> MoreMountains.Tools.MMDebugMenuItemChoices.Choices

a list of choices

◆ OffColor

Color MoreMountains.Tools.MMDebugMenuItemChoices.OffColor = Color.black

the color to use when the button is inactive

◆ OffSprite

Sprite MoreMountains.Tools.MMDebugMenuItemChoices.OffSprite

the sprite to use as bg when the button is inactive

◆ OnColor

Color MoreMountains.Tools.MMDebugMenuItemChoices.OnColor = Color.white

the color to use when the button is active

◆ SelectedSprite

Sprite MoreMountains.Tools.MMDebugMenuItemChoices.SelectedSprite

the sprite to use when the button is active


The documentation for this class was generated from the following file: