Drag[en]gine Script Module DragonScript Script API  1.0
Binding Class Reference
Inheritance diagram for Binding:

Public Member Functions

bool equals (Object other)
 
int getCode ()
 
Command getCommand ()
 
int hashCode ()
 
Binding new (int code, Command command)
 
void setCommand (Command command)
 

Public Attributes

int pCode
 
Command pCommand
 

Detailed Description

Describes the binding of a command to an input event on an arbitrary input device.

Member Function Documentation

§ equals()

bool equals ( Object  other)

Determines if the object is equal to some other.

Parameters
otherOther object
Returns
True if the objects are equal

§ getCode()

int getCode ( )

Retrieves the Input Code.

Returns
the input code

§ getCommand()

Command getCommand ( )

Retrieves the Command to execute

Returns
the command to execute

§ hashCode()

int hashCode ( )

Retrieves the hash code of this binding.

Returns
the has code

§ new()

Binding new ( int  code,
Command  command 
)

Creates a new Binding object

Parameters
codeInput Code
commandCommand to execute

§ setCommand()

void setCommand ( Command  command)

Sets the Command to execute.

Parameters
commandCommand to execute

Member Data Documentation

§ pCode

int pCode

Input Code

§ pCommand

Command pCommand

Command to execute


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