Fission FSN
Loading...
Searching...
No Matches
gfCCollectionEffectFactory.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: fsCCollectionEffectFactory.h
4*
5* Purpose: Factory controlled creation of collection trails to
6* allow for easier game specific functionality.
7*
8*********************************************************************/
9
10#ifndef gfCCollectionEffectFactoryhdr
11#define gfCCollectionEffectFactoryhdr
12
13#include <fsCore/fsStr.h>
15
17
18class fsCEntity;
19struct fsPoint;
20
21
23{
24public:
25
26 static void create();
27
28protected:
29
30 void generateDo(fsCEntity* pCollectedEntity) override;
31
34
35private:
36
37 static fsPoint localStartCoordGet(const fsPoint& pEntCollectionPoint);
38
39 static fsPoint inventorySackCoordsGet(fsCEntity* pCollectedEntity);
40 static fsPoint bonusTrashBinCoordsGet(fsCEntity* pCollectedEntity);
41 static fsPoint bonusBonusBinCoordsGet(fsCEntity* pCollectedEntity);
42 static fsPoint scoreCoordsGet(fsCEntity* pCollectedEntity);
43
44 fsBool inventoryCollectionEffectAdd(fsCEntity* const pCollectedEntity);
45 fsBool bonusPhotoCollectionEffectAdd(fsCEntity* pCollectedEntity);
46 fsBool bonusLostAndFoundCollectionEffectAdd(fsCEntity* pCollectedEntity);
47 fsBool bonusBonusCollectionEffectAdd(fsCEntity* pCollectedEntity);
48 fsBool bonusTrashCollectionEffectAdd(fsCEntity* pCollectedEntity);
49 fsBool animCollectionEffectAdd(fsCEntity* pCollectedEntity);
50 fsBool particleCollectionEffectAdd(fsCEntity* pCollectedEntity);
51 fsBool defaultCollectionEffectAdd(fsCEntity* pCollectedEntity);
52 fsBool listTrailCollectionEffectAdd(fsCEntity* pCollectedEntity);
53 void scoreTrailCollectionEffectAdd(fsCEntity* pCollectedEntity);
54
55 fsCEntity* const newEntCreate(fsCEntity* const pCollectedEntity);
56 fsBool collectionSFXPlay(fsCEntity* const pCollectedEntity);
57
58};
59
60#endif
Definition fsCEntity.h:39
gfCCollectionEffectFactory()
Definition gfCCollectionEffectFactory.cpp:351
static void create()
Definition gfCCollectionEffectFactory.cpp:345
virtual ~gfCCollectionEffectFactory()
Definition gfCCollectionEffectFactory.cpp:355
void generateDo(fsCEntity *pCollectedEntity) override
Definition gfCCollectionEffectFactory.cpp:29
gfICollectionEffectFactory()
Definition gfICollectionEffectFactory.cpp:27
bool fsBool
Definition fsBaseTypes.h:26
Definition fsPoint.h:17