TeleportEgg Class Reference

#include <TeleportEgg.h>

Inheritance diagram for TeleportEgg:

Egg Item Object List of all members.

Public Member Functions

 TeleportEgg ()
virtual ~TeleportEgg ()
 ENABLE_RUNTIME_CLASSTYPE ()
bool isTeleporter () const
int getTeleportId () const
bool loadData (IDataSource *ids, uint32 version)
virtual uint16 hatch ()

Protected Member Functions

virtual void saveData (ODataSource *ods)

Friends

class ItemFactory

Detailed Description

Definition at line 24 of file TeleportEgg.h.


Constructor & Destructor Documentation

TeleportEgg::TeleportEgg (  ) 

Definition at line 31 of file TeleportEgg.cpp.

TeleportEgg::~TeleportEgg (  )  [virtual]

Definition at line 37 of file TeleportEgg.cpp.


Member Function Documentation

TeleportEgg::ENABLE_RUNTIME_CLASSTYPE (  ) 

Reimplemented from Egg.

int TeleportEgg::getTeleportId (  )  const [inline]

Definition at line 34 of file TeleportEgg.h.

References Item::quality.

Referenced by hatch().

uint16 TeleportEgg::hatch (  )  [virtual]

hatch the egg

Reimplemented from Egg.

Definition at line 42 of file TeleportEgg.cpp.

References getMainActor(), getTeleportId(), isTeleporter(), Item::mapnum, perr, and MainActor::teleport().

bool TeleportEgg::isTeleporter (  )  const [inline]

Definition at line 33 of file TeleportEgg.h.

References Item::frame.

Referenced by hatch(), and EggHatcherProcess::run().

bool TeleportEgg::loadData ( IDataSource ids,
uint32  version 
)

Reimplemented from Egg.

Definition at line 60 of file TeleportEgg.cpp.

References Egg::loadData().

void TeleportEgg::saveData ( ODataSource ods  )  [protected, virtual]

save the actual Item data

Reimplemented from Egg.

Definition at line 55 of file TeleportEgg.cpp.

References Egg::saveData().


Friends And Related Function Documentation

friend class ItemFactory [friend]

Reimplemented from Egg.

Definition at line 26 of file TeleportEgg.h.


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 22:29:59 2007 for pentagram by  doxygen 1.4.7