Adonthell
0.4
character.cc
Go to the documentation of this file.
1
/*
2
Copyright (C) 2000/2001 Kai Sterker <kai.sterker@gmail.com>
3
Part of the Adonthell Project <http://adonthell.nongnu.org>
4
5
Adonthell is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; either version 2 of the License, or
8
(at your option) any later version.
9
10
Adonthell is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with Adonthell. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
20
/**
21
* @file character.cc
22
* @author Kai Sterker <kai.sterker@gmail.com>
23
*
24
* @brief Defines the character class.
25
*
26
*
27
*/
28
29
#include "
character.h
"
30
31
dictionary <character *>
data::characters
;
32
character
*
data::the_player
= NULL;
33
34
character::character
() :
mapcharacter
()
35
{
36
}
37
38
character::~character
()
39
{
40
}
character::character
character()
Default constructor.
Definition:
character.cc:34
character::~character
~character()
Destructor.
Definition:
character.cc:38
dictionary
Stores objects of any kind.
Definition:
storage.h:231
character
Class holding game characters.
Definition:
character.h:39
data::the_player
character * the_player
The player character.
Definition:
character.cc:32
character.h
Declares the character class.
mapcharacter
Representation of characters on a landmap.
Definition:
mapcharacter.h:139
src
character.cc
Generated by
1.8.17