Urho3D
Public Member Functions | Public Attributes
Urho3D::Controls Class Reference

Controls sent over the network. More...

#include <Controls.h>

List of all members.

Public Member Functions

 Controls ()
 Construct.
 ~Controls ()
 Destruct.
void Reset ()
 Reset to initial state.
void Set (unsigned buttons, bool down=true)
 Set or release buttons.
bool IsDown (unsigned button) const
 Check if a button is held down.
bool IsPressed (unsigned button, const Controls &previousControls) const
 Check if a button was pressed on this frame. Requires previous frame's controls.

Public Attributes

unsigned buttons_
 Button state.
float yaw_
 Mouse yaw.
float pitch_
 Mouse pitch.
VariantMap extraData_
 Extra control data.

Detailed Description

Controls sent over the network.


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