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::SoccerBallItem class Reference

Zap::SoccerBallItem Class Reference

#include <soccerGame.h>

Inheritance diagram for Zap::SoccerBallItem:

Zap::Item Zap::MoveObject Zap::GameObject TNL::NetObject TNL::Object

Public Member Functions

 SoccerBallItem (Point pos=Point())
void renderItem (Point pos)
void sendHome ()
void damageObject (DamageInfo *theInfo)
void idle (GameObject::IdleCallPath path)
void processArguments (S32 argc, const char **argv)
void onAddedToGame (Game *theGame)
bool collide (GameObject *hitObject)
 TNL_DECLARE_CLASS (SoccerBallItem)

Private Types

typedef Item Parent

Private Attributes

Point initialPos
Timer mSendHomeTimer
StringTableEntry lastPlayerTouch

Member Typedef Documentation

typedef Item Zap::SoccerBallItem::Parent [private]
 

Reimplemented from Zap::GameObject.


Constructor & Destructor Documentation

Zap::SoccerBallItem::SoccerBallItem Point  pos = Point()  ) 
 


Member Function Documentation

void Zap::SoccerBallItem::renderItem Point  pos  )  [virtual]
 

Implements Zap::Item.

void Zap::SoccerBallItem::sendHome  ) 
 

void Zap::SoccerBallItem::damageObject DamageInfo theInfo  )  [virtual]
 

Reimplemented from Zap::GameObject.

void Zap::SoccerBallItem::idle GameObject::IdleCallPath  path  ) 
 

Reimplemented from Zap::Item.

void Zap::SoccerBallItem::processArguments S32  argc,
const char **  argv
[virtual]
 

Reimplemented from Zap::Item.

void Zap::SoccerBallItem::onAddedToGame Game theGame  )  [virtual]
 

Reimplemented from Zap::GameObject.

bool Zap::SoccerBallItem::collide GameObject hitObject  )  [virtual]
 

Reimplemented from Zap::Item.

Zap::SoccerBallItem::TNL_DECLARE_CLASS SoccerBallItem   ) 
 


Field Documentation

Point Zap::SoccerBallItem::initialPos [private]
 

Timer Zap::SoccerBallItem::mSendHomeTimer [private]
 

StringTableEntry Zap::SoccerBallItem::lastPlayerTouch [private]