| b7550ffe |
sago007 |
2018-05-19 10:08 |
1 |
/* |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
2 |
=========================================================================== |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
3 |
blockattack - Block Attack - Rise of the Blocks |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
4 |
Copyright (C) 2005-2018 Poul Sander |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
5 |
This program is free software: you can redistribute it and/or modify |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
6 |
it under the terms of the GNU General Public License as published by |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
7 |
the Free Software Foundation, either version 2 of the License, or |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
8 |
(at your option) any later version. |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
9 |
This program is distributed in the hope that it will be useful, |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
10 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
11 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
12 |
GNU General Public License for more details. |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
13 |
You should have received a copy of the GNU General Public License |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
14 |
along with this program. If not, see http://www.gnu.org/licenses/ |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
15 |
Source information and contacts persons can be found at |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
16 |
https://blockattack.net |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
17 |
=========================================================================== |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
18 |
*/ |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
19 |
|
| b7550ffe |
sago007 |
2018-05-19 10:08 |
20 |
#ifndef SHOWFILESTATE_HPP |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
21 |
#define SHOWFILESTATE_HPP |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
22 |
|
| b7550ffe |
sago007 |
2018-05-19 10:08 |
23 |
|
| b7550ffe |
sago007 |
2018-05-19 10:08 |
24 |
#include "sago/GameStateInterface.hpp" |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
25 |
|
| b7550ffe |
sago007 |
2018-05-19 10:08 |
26 |
class ShowFileState : public sago::GameStateInterface { |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
27 |
public: |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
28 |
ShowFileState(); |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
29 |
ShowFileState(const ShowFileState& orig) = delete; |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
30 |
virtual ~ShowFileState(); |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
31 |
|
| b7550ffe |
sago007 |
2018-05-19 10:08 |
32 |
bool IsActive() override; |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
33 |
void Draw(SDL_Renderer* target) override; |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
34 |
void ProcessInput(const SDL_Event& event, bool &processed) override; |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
35 |
void Update() override; |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
36 |
|
| b7550ffe |
sago007 |
2018-05-19 10:08 |
37 |
private: |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
38 |
bool isActive = true; |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
39 |
bool bMouseUp = true; |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
40 |
}; |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
41 |
|
| b7550ffe |
sago007 |
2018-05-19 10:08 |
42 |
#endif /* SHOWFILESTATE_HPP */ |
| b7550ffe |
sago007 |
2018-05-19 10:08 |
43 |
|
|
|
1970-01-01 00:00 |
44 |
|