T_WolfCurses_Menu_MenuChoice_1 - Maxwolf/WolfCurses GitHub Wiki
Defines a choice in the dynamic action selection system for a given game mode. This is intended to be used by a wrapper for menu choices that aggregates all of the possible actions a given game mode can make while it is active in the simulation.
System.Object
WolfCurses.Menu.MenuChoice(T)
Namespace: WolfCurses.Menu
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public sealed class MenuChoice<T> : IMenuChoice<T>
where T : struct, new(), IComparable, IFormattable, IConvertible
- T
Name | Description | |
---|---|---|
![]() |
MenuChoice(T) | Initializes a new instance of the MenuChoice(T) class. |
Name | Description | |
---|---|---|
![]() |
Action | Gets or sets the action. |
![]() |
Command | Gets or sets the command. |
![]() |
Description | Gets or sets the description. |
Name | Description | |
---|---|---|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() |
ToDescriptionAttribute | Attempts to grab description attribute from any object. (Defined by AttributeExtensions.) |
Supported in: 0.1