afxProjectile

Engine/source/afx/ce/afxProjectile.h

More...

Private Types

Parent 

Public Functions

afxProjectile(U32 networking, U32 chor_id, StringTableEntry cons_name)

Advances simulation time for animations.

explode(const Point3F & p, const Point3F & n, const U32 collideType)

What to do when this projectile explodes.

init(Point3F & pos, Point3F & vel, ShapeBase * src_obj)

Interpolates between tick events.

bool

Called when the object is added to the sim.

bool
onNewDataBlock(GameBaseData * dptr, bool reload)

Called when a new datablock is set.

Called when the object is removed from the sim.

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Instructs this object to pack its state for transfer over the network.

Processes a move event and updates object state once every 32 milliseconds.

Instructs this object to read state data previously packed with packUpdate.

Detailed Description

Private Types

typedef Projectile Parent 

Private Attributes

U32 chor_id 
bool client_only 
StringTableEntry ghost_cons_name 
bool hookup_with_chor 

Public Functions

afxProjectile()

afxProjectile(U32 networking, U32 chor_id, StringTableEntry cons_name)

~afxProjectile()

advanceTime(F32 dt)

Reimplemented from: ProcessObject

DECLARE_CATEGORY("AFX" )

DECLARE_CONOBJECT(afxProjectile )

explode(const Point3F & p, const Point3F & n, const U32 collideType)

Reimplemented from: Projectile

init(Point3F & pos, Point3F & vel, ShapeBase * src_obj)

interpolateTick(F32 delta)

Reimplemented from: ProcessObject

onAdd()

Reimplemented from: SceneObject

onNewDataBlock(GameBaseData * dptr, bool reload)

Reimplemented from: GameBase

onRemove()

Reimplemented from: SceneObject

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Reimplemented from: SceneObject

processTick(const Move * move)

Reimplemented from: ProcessObject

unpackUpdate(NetConnection * conn, BitStream * stream)

Reimplemented from: SceneObject