Fission FSN
Loading...
Searching...
No Matches
gfIButtonDelayComponent.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: gfIButtonDelayComponent.h
4*
5* Purpose: Thin contract for an optional "delay timer" child a
6* commodity button can have (gfCCommodityButtonComponent)
7* - lets a purchase be gated on a cooldown finishing
8* without gfCatalogue needing to know about any concrete
9* delay-timer implementation. gfHogCore's
10* fsCButtonDelayComponent is the only implementation
11* today; it stays in gfHogCore since its actual timing
12* rules are HOG-specific (difficulty-based durations,
13* minigame/collectors-level exceptions), only the
14* timerActive() query itself is generic.
15*
16*********************************************************************/
17
18#ifndef gfIButtonDelayComponenthdr
19#define gfIButtonDelayComponenthdr
20
21#include <fsCore/fsBaseTypes.h>
22
24{
25public:
26
27 virtual fsBool timerActive() const = 0;
28
30};
31
32#endif
Definition gfIButtonDelayComponent.h:24
virtual ~gfIButtonDelayComponent()
Definition gfIButtonDelayComponent.h:29
virtual fsBool timerActive() const =0
bool fsBool
Definition fsBaseTypes.h:26