ScummVM API documentation
volcano_god.h
1
/* ScummVM - Graphic Adventure Engine
2
*
3
* ScummVM is the legal property of its developers, whose names
4
* are too numerous to list here. Please refer to the COPYRIGHT
5
* file distributed with this source distribution.
6
*
7
* This program is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
*
20
*/
21
22
#ifndef MM1_VIEWS_MAPS_VOLCANO_GOD_H
23
#define MM1_VIEWS_MAPS_VOLCANO_GOD_H
24
25
#include "mm/mm1/views/interactions/answer_entry.h"
26
27
namespace
MM
{
28
namespace
MM1 {
29
namespace
Views {
30
namespace
Interactions {
31
32
class
VolcanoGod
:
public
AnswerEntry
{
33
private
:
34
enum
Mode { CHOOSE_OPTION, ENTER_RESPONSE };
35
Mode _mode = CHOOSE_OPTION;
36
37
void
challenge();
38
void
riddle();
39
void
clue();
40
41
protected
:
42
void
answerEntered
()
override
;
43
44
public
:
45
VolcanoGod
();
46
virtual
~
VolcanoGod
() {}
47
48
void
draw
()
override
;
49
bool
msgKeypress(
const
KeypressMessage
&msg)
override
;
50
};
51
52
}
// namespace Interactions
53
}
// namespace Views
54
}
// namespace MM1
55
}
// namespace MM
56
57
#endif
MM::MM1::Views::Interactions::VolcanoGod::answerEntered
void answerEntered() override
MM::MM1::KeypressMessage
Definition:
messages.h:56
MM
Definition:
detection.h:27
MM::MM1::Views::Interactions::VolcanoGod
Definition:
volcano_god.h:32
MM::MM1::Views::Interactions::VolcanoGod::draw
void draw() override
MM::MM1::Views::Interactions::AnswerEntry
Definition:
answer_entry.h:32
engines
mm
mm1
views
interactions
volcano_god.h
Generated on Tue Dec 3 2024 09:19:06 for ScummVM API documentation by
1.8.13