Main Page Modules Namespaces C++ Classes Compound List File List Index
TNL: 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

Enumerator:

  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