News SF.net Project Frequently Asked Questions Documentation Downloads Mailing Lists How to Contribute

SourceForge.net Logo

Changing the way games are made and played.

Zap::Move struct Reference

Zap::Move Struct Reference

#include <move.h>


Public Types

enum  { MaxMoveTime = 127 }

Public Member Functions

 Move ()
bool isEqualMove (Move *prev)
void pack (BitStream *stream, Move *prev, bool packTime)
void unpack (BitStream *stream, bool unpackTime)
void prepare ()

Data Fields

float left
float right
float up
float down
float angle
bool fire
bool module [2]
U32 time


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
MaxMoveTime 


Constructor & Destructor Documentation

Zap::Move::Move  )  [inline]
 


Member Function Documentation

bool Zap::Move::isEqualMove Move prev  )  [inline]
 

void Zap::Move::pack BitStream *  stream,
Move prev,
bool  packTime
[inline]
 

void Zap::Move::unpack BitStream *  stream,
bool  unpackTime
[inline]
 

void Zap::Move::prepare  )  [inline]
 


Field Documentation

float Zap::Move::left
 

float Zap::Move::right
 

float Zap::Move::up
 

float Zap::Move::down
 

float Zap::Move::angle
 

bool Zap::Move::fire
 

bool Zap::Move::module[2]
 

U32 Zap::Move::time