Zap::GoalZone class Reference
Zap::GoalZone Class Reference
#include <goalZone.h>
Inheritance diagram for Zap::GoalZone:
Member Typedef Documentation
Member Enumeration Documentation
|
- Enumeration values:
-
MaxPoints |
|
FlashDelay |
|
FlashCount |
|
InitialMask |
|
TeamMask |
|
|
Constructor & Destructor Documentation
Zap::GoalZone::GoalZone |
( |
|
) |
|
|
Member Function Documentation
void Zap::GoalZone::render |
( |
|
) |
[virtual] |
|
bool Zap::GoalZone::isFlashing |
( |
|
) |
[inline] |
|
bool Zap::GoalZone::didRecentlyChangeTeam |
( |
|
) |
[inline] |
|
S32 Zap::GoalZone::getRenderSortValue |
( |
|
) |
[virtual] |
|
void Zap::GoalZone::processArguments |
( |
S32 |
argc, |
|
|
const char ** |
argv |
|
) |
[virtual] |
|
void Zap::GoalZone::setTeam |
( |
S32 |
team |
) |
|
|
void Zap::GoalZone::onAddedToGame |
( |
Game * |
theGame |
) |
[virtual] |
|
void Zap::GoalZone::computeExtent |
( |
|
) |
|
|
bool Zap::GoalZone::getCollisionPoly |
( |
Vector< Point > & |
polyPoints |
) |
[virtual] |
|
bool Zap::GoalZone::collide |
( |
GameObject * |
hitObject |
) |
[virtual] |
|
U32 Zap::GoalZone::packUpdate |
( |
GhostConnection * |
connection, |
|
|
U32 |
updateMask, |
|
|
BitStream * |
stream |
|
) |
[virtual] |
|
|
Write the object's state to a packet.
packUpdate is called on an object when it is to be written into a packet stream for transmission to the client. The updateMask parameter contains the out-of-date state mask for the object. The initial update mask for any object to a client will always be 0xFFFFFFFF, signifying that all states are out of date. It is often useful to check for this mask, to write one-time initialization information for that object.
Reimplemented from TNL::NetObject. |
void Zap::GoalZone::unpackUpdate |
( |
GhostConnection * |
connection, |
|
|
BitStream * |
stream |
|
) |
[virtual] |
|
|
Unpack data written by packUpdate().
unpackUpdate is called on the client to read an update out of a packet's bit stream. Because the update mask is not encoded by the network system directly, each unpack update function will have to determine from the bit stream which states are being updated.
Reimplemented from TNL::NetObject. |
Zap::GoalZone::TNL_DECLARE_CLASS |
( |
GoalZone |
|
) |
|
|
Field Documentation