Adonthell
0.4
Main Page
Related Pages
Classes
Files
File List
File Members
character.h
Go to the documentation of this file.
1
/*
2
$Id: character.h,v 1.25 2003/02/23 23:14:34 ksterker Exp $
3
4
Copyright (C) 2000/2001 Kai Sterker <kaisterker@linuxgames.com>
5
Part of the Adonthell Project http://adonthell.linuxgames.com
6
7
This program is free software; you can redistribute it and/or modify
8
it under the terms of the GNU General Public License.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY.
11
12
See the COPYING file for more details.
13
*/
14
15
16
/**
17
* @file character.h
18
* @author Kai Sterker <kaisterker@linuxgames.com>
19
*
20
* @brief Declares the character class.
21
*
22
*
23
*/
24
25
26
#ifndef CHARACTER_H_
27
#define CHARACTER_H_
28
29
#include "
mapcharacter.h
"
30
31
/**
32
* Class holding %game characters.
33
*
34
*/
35
class
character
:
public
mapcharacter
36
{
37
public
:
38
/**
39
* Default constructor.
40
*
41
*/
42
character
();
43
44
/**
45
* Destructor.
46
*
47
*/
48
~character
();
49
};
50
51
#ifndef SWIG
52
53
namespace
data
54
{
55
/**
56
* All the game's characters, different from the player.
57
*
58
*/
59
extern
dictionary <character *>
characters;
60
61
/**
62
* The player character.
63
*
64
*/
65
extern
character
*the_player;
66
}
67
#endif
68
69
#endif // CHARACTER_H_
character::~character
~character()
Destructor.
Definition:
character.cc:34
data
Definition:
adonthell.h:231
character
Class holding game characters.
Definition:
character.h:35
dictionary
Stores objects of any kind.
Definition:
storage.h:227
character::character
character()
Default constructor.
Definition:
character.cc:30
mapcharacter
Representation of characters on a landmap.
Definition:
mapcharacter.h:135
mapcharacter.h
Declares the mapcharacter class.
src
character.h
Generated by
1.8.11