OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
earthquake.cpp
Go to the documentation of this file.
1
#include "
earthquake.h
"
2
3
#include <Tempest/Log>
4
5
using namespace
Tempest;
6
7
Earthquake::Earthquake
(
Vob
* parent,
World
& world,
const
zenkit::VEarthquake& data,
Flags
flags)
8
:
AbstractTrigger
(parent,world,data,flags) {
9
}
10
11
void
Earthquake::onTrigger
(
const
TriggerEvent
& evt) {
12
Log::d(
"TODO: earthquake, \""
,
name
() ,
"\""
);
13
}
AbstractTrigger
Definition
abstracttrigger.h:46
AbstractTrigger::name
std::string_view name() const
Definition
abstracttrigger.cpp:55
Earthquake::Earthquake
Earthquake(Vob *parent, World &world, const zenkit::VEarthquake &data, Flags flags)
Definition
earthquake.cpp:7
Earthquake::onTrigger
void onTrigger(const TriggerEvent &evt) override
Definition
earthquake.cpp:11
TriggerEvent
Definition
abstracttrigger.h:14
Vob
Definition
vob.h:11
Vob::Flags
Flags
Definition
vob.h:13
World
Definition
world.h:31
earthquake.h
game
world
triggers
earthquake.cpp
Generated by
1.9.8