Kinoko
A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
Disposer.cc
1
#include "Disposer.hh"
2
3
#include "egg/core/Heap.hh"
4
5
namespace
EGG
{
6
8
Disposer::Disposer() {
9
m_heap = Heap::findContainHeap(
this
);
10
if
(m_heap) {
11
m_heap->appendDisposer(
this
);
12
}
13
}
14
16
Disposer::~Disposer() {
17
if
(m_heap) {
18
m_heap->removeDisposer(
this
);
19
}
20
}
21
22
}
// namespace EGG
EGG
EGG core library.
Definition
Archive.cc:6
egg
core
Disposer.cc
Made by
Malleo
. Logo by
vabold
. Website generated by
Doxygen
1.12.0