Abstract base class for Input.
#include <nrg_input.h>
Public Member Functions | |
void | markUpdated (bool b) |
bool | readFromPacket (Packet &p) |
void | writeToPacket (Packet &p) const |
virtual void | onUpdate (Player &player)=0 |
Virtual function called Server-side when the Player player has sent some new input. | |
virtual void | doPrediction ()=0 |
NYI: Do prediction of inputs client-side. | |
Additional Inherited Members | |
Protected Member Functions inherited from nrg::FieldContainer | |
FieldContainer () | |
Standard Constructor. | |
FieldContainer (const FieldContainer ©) | |
Copy Constructor. | |
FieldContainer & | operator= (const FieldContainer ©) |
Assignment Operator. | |
FieldBase * | getFirstField () const |
Return the first field in this FieldContainer's internal linked-list. | |
size_t | getNumFields () const |
Returns the number of fields in this FieldContainer's linked-list. | |