Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
AttackNugget Class Reference

Inherits ObjectCreationNugget.

Public Member Functions

 AttackNugget ()
 
virtual Objectcreate (const Object *primaryObj, const Coord3D *primary, const Coord3D *secondary, Real angle, UnsignedInt lifetimeFrames=0) const
 
- Public Member Functions inherited from ObjectCreationNugget
 ObjectCreationNugget ()
 
virtual Objectcreate (const Object *primary, const Object *secondary, UnsignedInt lifetimeFrames=0) const
 
virtual Objectcreate (const Object *primaryObj, const Coord3D *primary, const Coord3D *secondary, Bool createOwner, UnsignedInt lifetimeFrames=0) const
 
- Public Member Functions inherited from MemoryPoolObject
void deleteInstance ()
 

Static Public Member Functions

static void parse (INI *ini, void *instance, void *, const void *)
 

Additional Inherited Members

- Protected Member Functions inherited from MemoryPoolObject
virtual ~MemoryPoolObject ()
 
void * operator new (size_t s)
 
void operator delete (void *p)
 
virtual MemoryPoolgetObjectMemoryPool ()=0
 

Detailed Description

Definition at line 175 of file ObjectCreationList.cpp.

Constructor & Destructor Documentation

◆ AttackNugget()

AttackNugget::AttackNugget ( )
inline

Definition at line 180 of file ObjectCreationList.cpp.

Member Function Documentation

◆ create()

virtual Object * AttackNugget::create ( const Object * primaryObj,
const Coord3D * primary,
const Coord3D * secondary,
Real angle,
UnsignedInt lifetimeFrames = 0 ) const
inlinevirtual

The main guts of the system: actually perform the sound and/or video effects needed. Note that primary can be null, so you must check for this. Bool useOwner determines whether we are creating the the master object or not (for deliverpayload)

Implements ObjectCreationNugget.

Definition at line 187 of file ObjectCreationList.cpp.

◆ parse()

static void AttackNugget::parse ( INI * ini,
void * instance,
void * ,
const void *  )
inlinestatic

Definition at line 223 of file ObjectCreationList.cpp.


The documentation for this class was generated from the following file: