Civilization
Main Page
Diagram explanation
The game
Rules
Specific actions
Graphics
Rendering
Rules implementation
multithreading and network
IA
Development
Our development process
CI/CD
Code
Source code
Class List
Class List
Class Index
Class Members
All
a
b
c
d
e
g
h
i
l
m
o
p
r
s
t
u
w
Functions
a
b
c
d
e
g
h
i
l
m
o
p
r
s
t
u
w
Source files
File List
Code-coverage
•
All
Classes
Files
Functions
Pages
include
shared
Barbarian.hpp
1
// Generated by dia2code
2
#ifndef SHARED__BARBARIAN__H
3
#define SHARED__BARBARIAN__H
4
5
#include <boost/serialization/access.hpp>
6
#include <boost/serialization/vector.hpp>
7
8
#include "ElementEnum.hpp"
9
10
namespace
shared {
11
13
class
Barbarian
{
14
// Attributes
15
public
:
16
bool
isAlive;
17
private
:
18
friend
class
boost::serialization::access ;
19
// Operations
20
public
:
21
Barbarian
();
22
ElementEnum getType ();
23
void
moveTo ();
24
void
kill ();
25
private
:
26
template
<
class
Archive>
void
serialize (Archive& ar,
const
unsigned
int
version);
27
// Setters and Getters
28
};
29
30
};
31
32
#endif
shared::Barbarian
class Barbarian -
Definition:
Barbarian.hpp:13
Generated by
1.9.1