C# Класс numl.AI.Action

Action class.
Наследование: IAction
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Action() публичный Метод

Default constructor.
public Action ( ) : System
Результат System

Action() публичный Метод

Initializes a new Action.
public Action ( int id, string name ) : System
id int Action identifier.
name string Name of the action.
Результат System

CompareTo() публичный Метод

Determines the sort order of the current action relative to the specified action.
public CompareTo ( object obj ) : int
obj object Action to comapre.
Результат int

Equals() публичный Метод

Determines whether this object is equal to obj
public Equals ( object obj ) : bool
obj object Object to test equality for.
Результат bool

GetActionId() публичный статический Метод

Creates a unique action identifier from the action value.
public static GetActionId ( double action ) : int
action double
Результат int

GetHashCode() публичный Метод

Returns the current hash code value.
public GetHashCode ( ) : int
Результат int