Main Page Modules Namespaces C++ Classes Compound List File List Index
TNL: Zap::SoccerBallItem Class Reference

# Zap::SoccerBallItem Class Reference

`#include <soccerGame.h>`

Inheritance diagram for Zap::SoccerBallItem:

## 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 | ) | `[virtual]`

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]`