Last change
on this file since 332 was
332,
checked in by sam, 10 years ago
|
Implement the title screen. Click on it to start a game.
|
File size:
786 bytes
|
Line | |
---|
1 | // |
---|
2 | // Monsterz |
---|
3 | // |
---|
4 | // Copyright: (c) 2005-2011 Sam Hocevar <sam@hocevar.net> |
---|
5 | // This program is free software; you can redistribute it and/or |
---|
6 | // modify it under the terms of the Do What The Fuck You Want To |
---|
7 | // Public License, Version 2, as published by Sam Hocevar. See |
---|
8 | // http://sam.zoy.org/projects/COPYING.WTFPL for more details. |
---|
9 | // |
---|
10 | |
---|
11 | // |
---|
12 | // The Title class |
---|
13 | // --------------- |
---|
14 | // |
---|
15 | |
---|
16 | #if !defined __MONSTERZ_TITLE_H__ |
---|
17 | #define __MONSTERZ_TITLE_H__ |
---|
18 | |
---|
19 | #include "interface.h" |
---|
20 | #include "monsterz.h" |
---|
21 | |
---|
22 | class TitleData; |
---|
23 | |
---|
24 | class Title : public WorldEntity |
---|
25 | { |
---|
26 | public: |
---|
27 | Title(); |
---|
28 | virtual ~Title(); |
---|
29 | |
---|
30 | int IsClicked() const; |
---|
31 | |
---|
32 | protected: |
---|
33 | virtual void TickGame(float deltams); |
---|
34 | virtual void TickDraw(float deltams); |
---|
35 | |
---|
36 | private: |
---|
37 | TitleData *data; |
---|
38 | }; |
---|
39 | |
---|
40 | #endif // __MONSTERZ_TITLE_H__ |
---|
41 | |
---|
Note: See
TracBrowser
for help on using the repository browser.