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

Public Member Functions

void eventKeyPress (int keycode, int modifiers, int keychar)
 
void eventKeyRelease (int keycode, int modifiers, int keychar)
 
void eventKeyType (int keycode, int modifiers, int keychar)
 
void eventMouseMove (int dx, int dy, int button, int modifiers)
 
void eventMousePress (int button, int modifiers)
 
void eventMouseRelease (int button, int modifiers)
 
ConversationPlayback getPlayback ()
 
ConversationInputProcessor new (ConversationPlayback playback)
 
- Public Member Functions inherited from DefaultInputProcessor
void eventKeyPress (int keycode, int modifiers, int keychar)
 
void eventKeyRelease (int keycode, int modifiers, int keychar)
 
void eventKeyType (int keycode, int modifiers, int keychar)
 
void eventMouseMove (int dx, int dy, int button, int modifiers)
 
void eventMousePress (int button, int modifiers)
 
void eventMouseRelease (int button, int modifiers)
 
DefaultInputProcessor new ()
 

Detailed Description

Input listener for simple conversations. Can skip actor speaking or entire conversation if required.

Author
Roland Pl├╝ss
Version
1.0

Member Function Documentation

§ eventKeyPress()

void eventKeyPress ( int  keycode,
int  modifiers,
int  keychar 
)

Process a key press event.

Parameters
keycodeCode of the key
modifiersModifier keys pressed
keycharCharacter value of the key

Implements InputProcessor.

§ eventKeyRelease()

void eventKeyRelease ( int  keycode,
int  modifiers,
int  keychar 
)

Process a key release event.

Parameters
keycodeCode of the key
modifiersModifier keys pressed
keycharCharacter value of the key

Implements InputProcessor.

§ eventKeyType()

void eventKeyType ( int  keycode,
int  modifiers,
int  keychar 
)

Process a key type event.

Parameters
keycodeCode of the key
modifiersModifier keys pressed
keycharCharacter value of the key

Implements InputProcessor.

§ eventMouseMove()

void eventMouseMove ( int  dx,
int  dy,
int  button,
int  modifiers 
)

Process a mouse move event. Forwards to the current game modification.

Parameters
dxRelative movement in x direction
dyRelative movement in y direction
buttonMouse button released
modifiersModifier keys pressed

Implements InputProcessor.

§ eventMousePress()

void eventMousePress ( int  button,
int  modifiers 
)

Process a mouse button press event.

Parameters
buttonMouse button pressed
modifiersModifier keys pressed

Implements InputProcessor.

§ eventMouseRelease()

void eventMouseRelease ( int  button,
int  modifiers 
)

Process a mouse button release event.

Parameters
buttonMouse button released
modifiersModifier keys pressed

Implements InputProcessor.

§ getPlayback()

ConversationPlayback getPlayback ( )

Retrieves the conversation playback.

§ new()

Creates a new conversation input processot.


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