Claypool

Courses

Publications

Students

Projects

Service

Downloads

Misc


Dragonfly: EventMouse Class Reference
Dragonfly 2.2
A text-based game engine
Public Member Functions | Protected Attributes

EventMouse Class Reference

Inheritance diagram for EventMouse:
Event

List of all members.

Public Member Functions

void setMouseAction (enum MouseActionList new_mouse_action)
 Load the mouse event's action.
enum MouseActionList getMouseAction ()
 Get the mouse event's action.
void setMouseX (int new_x)
 Set the mouse event's x coordinate.
void setMouseY (int new_y)
 Set the mouse event's y coordinate.
int getMouseX ()
 Get the mouse event's x coordinate.
int getMouseY ()
 Get the mouse event's y coordinate.

Protected Attributes

enum MouseActionList mouse_action
 Stores the mouse action.
int mouse_x
 The mouse x coordinate.
int mouse_y
 The mouse y coordinate.

The documentation for this class was generated from the following file:
 All Classes Functions Variables Friends