Fission FSN
Loading...
Searching...
No Matches
gfCWordSearchLensComponent.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: gfCWordSearchLensComponent.h
4*
5* Purpose: Match three lens component. Catch input and filter
6* it into taps and swipes and then pass it down the
7* line
8*
9*********************************************************************/
10
11#ifndef gfCWordSearchLensComponenthdr
12#define gfCWordSearchLensComponenthdr
13
14#include <fsCore/fsSColour.h>
16
18
19
21{
22 friend class fsCComponentFactory;
23
24public:
25
26 static const fsCUniqueId mTypeId;
27
29
30protected:
31
32 void initialiseDo() override;
33
34 void doOnTap(const fsPoint& pTapPos) override;
35 void doOnDragEnd(const fsPoint& pEndPos) override;
36
37 void updateDo(fsS32 pDeltaMs) override;
38
39 fsBool acceptingInputGet() const override;
40
41 static fsIComponent* create(fsCEntity* pParent);
42
43 gfCWordSearchLensComponent(fsCEntity* pParent, fsBool pHandleTaps, fsBool pHandleDragEvent,
44 fsBool pHandlePinchEvents);
45
46private:
47
49 fsBool mSnakeWords;
50};
51
52#endif
Definition fsCEntity.h:39
Definition fsCUniqueId.h:21
Definition fsIComponent.h:26
static fsIComponent * create(fsCEntity *pParent)
Definition gfCWordSearchLensComponent.cpp:52
void doOnDragEnd(const fsPoint &pEndPos) override
Definition gfCWordSearchLensComponent.cpp:19
friend class fsCComponentFactory
Definition gfCWordSearchLensComponent.h:22
void initialiseDo() override
Definition gfCWordSearchLensComponent.cpp:46
void updateDo(fsS32 pDeltaMs) override
Definition gfCWordSearchLensComponent.cpp:28
gfCWordSearchLensComponent(fsCEntity *pParent, fsBool pHandleTaps, fsBool pHandleDragEvent, fsBool pHandlePinchEvents)
Definition gfCWordSearchLensComponent.cpp:57
fsBool acceptingInputGet() const override
Definition gfCWordSearchLensComponent.cpp:41
virtual ~gfCWordSearchLensComponent()
Definition gfCWordSearchLensComponent.cpp:66
static const fsCUniqueId mTypeId
Definition gfCWordSearchLensComponent.h:26
void doOnTap(const fsPoint &pTapPos) override
Definition gfCWordSearchLensComponent.cpp:10
Definition gfCWordSearchMinigameLogicComponent.h:32
gfIOpaqueLensComponent(fsCEntity *pParent, fsBool pHandleTaps, fsBool pHandleDragEvent, fsBool pHandlePinchEvents)
Definition gfIOpaqueLensComponent.cpp:47
bool fsBool
Definition fsBaseTypes.h:26
int fsS32
Definition fsBaseTypes.h:20
Definition fsPoint.h:17