Debian Codegraph @

src/gameclock.h

raw symbols SCIP
1 /***************************************************************************
2 gameclock.h - description
3 -------------------
4 begin : Sun May 18 19:17:34 2003
5 copyright : (C) 2003 Michael Bridak
6 email : [email protected]
7 $Id: gameclock.h,v 1.2 2003/05/20 17:36:04 mbridak Exp $
8 ***************************************************************************/
9
10 /***************************************************************************
11 * *
12 * This program is free software; you can redistribute it and/or modify *
13 * it under the terms of the GNU General Public License as published by *
14 * the Free Software Foundation; either version 2 of the License. *
15 * . *
16 * *
17 ***************************************************************************/
18
19 #ifndef _GAMECLOCK_H_
20 #define _GAMECLOCK_H_
21
22
23 class GameClock
24 {
25 public:
26 GameClock();
27 ~GameClock();
28 void InitTime(int hours, int minutes, int seconds);
29 void UpdateTime();
30 void GetTime(int &hours, int &minutes, int &seconds);
31 int GetTick();
32 private:
33 int hours;
34 int minutes;
35 int seconds;
36 int ticks;
37 };
38
39
40 #endif //_GAMECLOCK_H_
41