C# Class numl.AI.Action

Action class.
Inheritance: IAction
Afficher le fichier Open project: sethjuarez/numl Class Usage Examples

Méthodes publiques

Méthode Description
Action ( ) : System

Default constructor.

Action ( int id, string name ) : System

Initializes a new Action.

CompareTo ( object obj ) : int

Determines the sort order of the current action relative to the specified action.

Equals ( object obj ) : bool

Determines whether this object is equal to obj

GetActionId ( double action ) : int

Creates a unique action identifier from the action value.

GetHashCode ( ) : int

Returns the current hash code value.

Method Details

Action() public méthode

Default constructor.
public Action ( ) : System
Résultat System

Action() public méthode

Initializes a new Action.
public Action ( int id, string name ) : System
id int Action identifier.
name string Name of the action.
Résultat System

CompareTo() public méthode

Determines the sort order of the current action relative to the specified action.
public CompareTo ( object obj ) : int
obj object Action to comapre.
Résultat int

Equals() public méthode

Determines whether this object is equal to obj
public Equals ( object obj ) : bool
obj object Object to test equality for.
Résultat bool

GetActionId() public static méthode

Creates a unique action identifier from the action value.
public static GetActionId ( double action ) : int
action double
Résultat int

GetHashCode() public méthode

Returns the current hash code value.
public GetHashCode ( ) : int
Résultat int