C# Class numl.AI.Action

Action class.
Inheritance: IAction
ファイルを表示 Open project: sethjuarez/numl Class Usage Examples

Public Methods

Method 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 method

Default constructor.
public Action ( ) : System
return System

Action() public method

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

CompareTo() public method

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

Equals() public method

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

GetActionId() public static method

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

GetHashCode() public method

Returns the current hash code value.
public GetHashCode ( ) : int
return int