Fission FSN
Loading...
Searching...
No Matches
gfCSpotTheDiffMinigameComponent Class Reference

#include <gfCSpotTheDiffMinigameComponent.h>

Inheritance diagram for gfCSpotTheDiffMinigameComponent:

Classes

struct  sSpotDiffEventMsgParam

Public Member Functions

fsBool isHintableGet () const override
fsBool aimOnlyGet () const override
fsBool pressGet (fsPoint &pAt) const override
fsBool pressHitGet (const fsPoint &pAt) const override
sMove moveAfterPress (const std::vector< fsCEntity * > &pPeers, const fsPoint &pPressedAt) const override
fsBool tapTookEffectGet (const sMove &pMove) const override
Public Member Functions inherited from gfIMinigameComponent
void initialise (const fsCVariableTable &pVars)
void skip ()
fsBool completedGet () const
Public Member Functions inherited from fsIGestureHandlingComponent
fsBool hitTest (const fsPoint &pPos) const
Public Member Functions inherited from fsIMessageListenerComponent
 fsIMessageListenerComponent (fsCEntity *pParent)
 fsIMessageListenerComponent (fsCEntity *pParent, fsS32 pPriority)
 ~fsIMessageListenerComponent () override
Public Member Functions inherited from fsIComponent
template<typename TInterface>
std::vector< fsCEntity * > appSceneEntitiesWithComponentOfFamilyType () const
template<typename TInterface>
fsCEntity * appSceneFirstEntityWithComponentOfFamilyType () const
fsCEntity * appSceneEntityNamed (const fsStr &pName) const
void reset ()
void update (fsS32 pDeltaMs)
void render ()
void matrixApply ()
void postLoad ()
void deserialise ()
void serialise ()
void initialiseFromVariableTable (const fsCVariableTable &pVars)
void initialise ()
void finalise ()
fsCEntity * parentGet () const
fsCEntity * grandparentGet () const
Public Member Functions inherited from fsIMessageListener
void listenersRegister ()
void listenersDeregister ()
void prioritySet (fsS32 pPriority)
fsBool messageProcess (const fsCUniqueId &pMessageType, const fsIMessageDispatcher::sMessageParameters &pParam)
void inputSteal ()
Public Member Functions inherited from gfIMinigameHintable
virtual fsBool isActiveGet () const
virtual fsBool hintDo ()
virtual ~gfIMinigameHintable ()
Public Member Functions inherited from gfIMinigameNextMove
virtual fsBool dragOnlyGet () const
virtual fsBool hintByMoveGet () const
virtual fsS32 pressLimitGet () const
virtual fsBool dropLandedGet (fsCEntity *pTakenEnt, fsStr &pOffBy) const
virtual ~gfIMinigameNextMove ()

Static Public Attributes

static const fsCUniqueId mTypeId
static const fsCUniqueId mDifferenceFoundMsg
static const fsCUniqueId mDifferenceCollectedMsg
static const fsStr mEntityPrefix

Protected Member Functions

void listenersRegisterDo () override
void listenersDeregisterDo () override
fsBool messageProcessDo (const fsCUniqueId &pMessageType, const fsIMessageDispatcher::sMessageParameters &pParam) override
void onTap (const fsPoint &pTapPos) override
void serialiseDo () override
void deserialiseDo () override
void initialiseDo (const fsCVariableTable &pVars) override
void skipDo () override
fsBool acceptingInputGet () const override
 gfCSpotTheDiffMinigameComponent (fsCEntity *pParent)
 ~gfCSpotTheDiffMinigameComponent () override
Protected Member Functions inherited from gfIMinigameComponent
void resetDo () override
void listenersRegisterDo () override
void listenersDeregisterDo () override
fsBool messageProcessDo (const fsCUniqueId &pMessageType, const fsIMessageDispatcher::sMessageParameters &pParam) override
void completionStateUpdate (fsBool pComplete, fsBool pCreateEffect)
fsS32 indexCalculate ()
 gfIMinigameComponent (fsCEntity *pParent, fsBool pHandleTaps, fsBool pHandleDragEvent, fsBool pHandlePinchEvents)
 gfIMinigameComponent (fsCEntity *pParent)
virtual ~gfIMinigameComponent ()
Protected Member Functions inherited from fsIGestureHandlingComponent
void gestureTypesSet (fsBool pHandleTaps, fsBool pHandleDragEvent, fsBool pHandlePinchEvents)
void gestureReset ()
 fsIGestureHandlingComponent (fsCEntity *pParent, fsBool pHandleTaps, fsBool pHandleDragEvent, fsBool pHandlePinchEvents)
 ~fsIGestureHandlingComponent () override
Protected Member Functions inherited from fsIComponent
virtual void updateDo (fsS32 pDeltaMs)
virtual void renderDo ()
virtual void matrixApplyDo ()
virtual void postLoadDo ()
virtual void initialiseFromVariableTableDo (const fsCVariableTable &pVars)
virtual void initialiseDo ()
virtual void finaliseDo ()
virtual ~fsIComponent ()
 fsIComponent (fsCEntity *pParent)
Protected Member Functions inherited from fsIMessageListener
virtual void inputStealDo ()
 fsIMessageListener (fsS32 pPriority)
virtual ~fsIMessageListener ()

Static Protected Member Functions

static fsIComponent * create (fsCEntity *pParent)

Friends

class fsCComponentFactory

Additional Inherited Members

Public Types inherited from fsIMessageListener
enum  {
  ePRIORITY_NORMAL = 0 , ePRIORITY_DEBUG_WINDOW , ePRIORITY_SOFTWARE_CURSOR , ePRIORITY_TEXT_ENTRY ,
  ePRIORITY_DEBUG_MODAL , ePRIORITY_DEBUG_MODAL_BUTTON
}
Static Public Member Functions inherited from fsIMessageListener
static fsBool lessThan (const fsIMessageListener *pLHS, const fsIMessageListener *pRHS)
Static Public Member Functions inherited from gfIMinigameNextMove
static fsPoint hitCentreGet (const fsPoint &pOrigin, fsS32 pWidth, fsS32 pHeight, const std::function< fsBool(const fsPoint &)> &pHit)
static fsPoint ownedCentreGet (const fsPoint &pOrigin, fsS32 pWidth, fsS32 pHeight, const std::function< fsBool(const fsPoint &)> &pHit, const std::function< fsBool(const fsPoint &)> &pOtherHit)
Protected Types inherited from fsIGestureHandlingComponent
enum  {
  eSTATE_NOT_IN_GESTURE = 0 , eSTATE_MOUSE_OVER , eSTATE_EVALUATING_GESTURE_TYPE , eSTATE_IN_TAP_GESTURE ,
  eSTATE_IN_DRAG_GESTURE , eSTATE_IN_PINCH_GESTURE , eSTATE_WAITING_FOR_ALL_POINTS_TO_RELEASE
}
Protected Attributes inherited from gfIMinigameComponent
fsBool mLevelCompleteWaitingForUserInput
Protected Attributes inherited from fsIGestureHandlingComponent
std::vector< sGesturePoint > mGesturePoints
fsS32 mGestureState
fsS32 mNumPointsDown
fsBool mHighlighted
Protected Attributes inherited from fsIMessageListener
fsS32 mPriority

Constructor & Destructor Documentation

◆ gfCSpotTheDiffMinigameComponent()

gfCSpotTheDiffMinigameComponent::gfCSpotTheDiffMinigameComponent ( fsCEntity * pParent)
protected

◆ ~gfCSpotTheDiffMinigameComponent()

gfCSpotTheDiffMinigameComponent::~gfCSpotTheDiffMinigameComponent ( )
overrideprotected

Member Function Documentation

◆ acceptingInputGet()

fsBool gfCSpotTheDiffMinigameComponent::acceptingInputGet ( ) const
overrideprotectedvirtual

◆ aimOnlyGet()

fsBool gfCSpotTheDiffMinigameComponent::aimOnlyGet ( ) const
overridevirtual

Reimplemented from gfIMinigameNextMove.

◆ create()

fsIComponent * gfCSpotTheDiffMinigameComponent::create ( fsCEntity * pParent)
staticprotected

◆ deserialiseDo()

void gfCSpotTheDiffMinigameComponent::deserialiseDo ( )
overrideprotectedvirtual

Reimplemented from fsIComponent.

◆ initialiseDo()

void gfCSpotTheDiffMinigameComponent::initialiseDo ( const fsCVariableTable & pVars)
overrideprotectedvirtual

Implements gfIMinigameComponent.

◆ isHintableGet()

fsBool gfCSpotTheDiffMinigameComponent::isHintableGet ( ) const
overridevirtual

Implements gfIMinigameHintable.

◆ listenersDeregisterDo()

void gfCSpotTheDiffMinigameComponent::listenersDeregisterDo ( )
overrideprotectedvirtual

Reimplemented from fsIGestureHandlingComponent.

◆ listenersRegisterDo()

void gfCSpotTheDiffMinigameComponent::listenersRegisterDo ( )
overrideprotectedvirtual

Reimplemented from fsIGestureHandlingComponent.

◆ messageProcessDo()

fsBool gfCSpotTheDiffMinigameComponent::messageProcessDo ( const fsCUniqueId & pMessageType,
const fsIMessageDispatcher::sMessageParameters & pParam )
overrideprotectedvirtual

Reimplemented from fsIGestureHandlingComponent.

◆ moveAfterPress()

gfIMinigameNextMove::sMove gfCSpotTheDiffMinigameComponent::moveAfterPress ( const std::vector< fsCEntity * > & pPeers,
const fsPoint & pPressedAt ) const
overridevirtual

Implements gfIMinigameNextMove.

◆ onTap()

void gfCSpotTheDiffMinigameComponent::onTap ( const fsPoint & pTapPos)
overrideprotectedvirtual

Reimplemented from fsIGestureHandlingComponent.

◆ pressGet()

fsBool gfCSpotTheDiffMinigameComponent::pressGet ( fsPoint & pAt) const
overridevirtual

Implements gfIMinigameNextMove.

◆ pressHitGet()

fsBool gfCSpotTheDiffMinigameComponent::pressHitGet ( const fsPoint & pAt) const
overridevirtual

Reimplemented from gfIMinigameNextMove.

◆ serialiseDo()

void gfCSpotTheDiffMinigameComponent::serialiseDo ( )
overrideprotectedvirtual

Reimplemented from fsIComponent.

◆ skipDo()

void gfCSpotTheDiffMinigameComponent::skipDo ( )
overrideprotectedvirtual

Implements gfIMinigameComponent.

◆ tapTookEffectGet()

fsBool gfCSpotTheDiffMinigameComponent::tapTookEffectGet ( const sMove & pMove) const
overridevirtual

Reimplemented from gfIMinigameNextMove.

◆ fsCComponentFactory

friend class fsCComponentFactory
friend

Member Data Documentation

◆ mDifferenceCollectedMsg

const fsCUniqueId gfCSpotTheDiffMinigameComponent::mDifferenceCollectedMsg
static

◆ mDifferenceFoundMsg

const fsCUniqueId gfCSpotTheDiffMinigameComponent::mDifferenceFoundMsg
static

◆ mEntityPrefix

const fsStr gfCSpotTheDiffMinigameComponent::mEntityPrefix
static

◆ mTypeId

const fsCUniqueId gfCSpotTheDiffMinigameComponent::mTypeId
static

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