start 380 project5
changes to 380 project 4 changes to 350 project 2 Signed-off-by: Amrit Panesar <apanesar@4195tech.com>
This commit is contained in:
1 parent
40ac78074b
commit
39ee821f54
174 files changed
+13356
-80
No files matched your search
@@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
|
||||
#include "..\..\GkDefinitions.h"
|
||||
|
||||
#include "..\GkGameEntity.h"
|
||||
|
||||
class GKDLLCLASS GkGameWinningCounter :
|
||||
public GkGameEntity
|
||||
{
|
||||
private:
|
||||
float oldValue;
|
||||
|
||||
void SetValue(float value, float maxTime);
|
||||
|
||||
public:
|
||||
int *actualValue;
|
||||
|
||||
float minSpeed, maxTime,
|
||||
displayValue,
|
||||
speed;
|
||||
|
||||
int intDisplayValue;
|
||||
|
||||
GkGameWinningCounter(int *actualValue, float minSpeed = 500.0f, float maxTime = 1.0f);
|
||||
~GkGameWinningCounter(void);
|
||||
|
||||
void Reach(float maxTime = 0.0f);
|
||||
bool IsCounting();
|
||||
|
||||
void Process(GkGame *game);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user