OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
fplock.h
Go to the documentation of this file.
1#pragma once
2
3class WayPoint;
4class Serialize;
5
6class FpLock final {
7 public:
8 FpLock();
9 FpLock(const WayPoint& p);
10 FpLock(const WayPoint* p);
11 FpLock(FpLock&& other);
12 ~FpLock();
13
14 FpLock& operator=(FpLock&& other);
15
16 void load(Serialize& fin);
17 void save(Serialize& fout) const;
18
19 private:
20 const WayPoint* pt=nullptr;
21 };
Definition fplock.h:6
void save(Serialize &fout) const
Definition fplock.cpp:44
FpLock & operator=(FpLock &&other)
Definition fplock.cpp:30
FpLock()
Definition fplock.cpp:6
~FpLock()
Definition fplock.cpp:25
void load(Serialize &fin)
Definition fplock.cpp:38