Files
Coleman-Code/COM380/Project5/GambleKit/Engine/Game/Entities/GkGameWinningCounter.h
T
Amrit Panesar 39ee821f54 start 380 project5
changes to 380 project 4
changes to 350 project 2

Signed-off-by: Amrit Panesar <apanesar@4195tech.com>
2015-05-06 10:18:39 -07:00

33 lines
530 B
C++

#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);
};