Debian Codegraph @

src/level/levelplayer.h

raw symbols SCIP
1
2 /**
3 *
4 * @file levelplayer.h
5 *
6 * Part of the OpenJazz project
7 *
8 * @par History:
9 * - 23rd August 2005: Created OpenJazz.h
10 * - 31st January 2006: Created player.h from parts of OpenJazz.h
11 * - 24th June 2010: Created bonusplayer.h and levelplayer.h from parts of
12 * player.h
13 * - 29th June 2010: Created jj2levelplayer.h from parts of levelplayer.h
14 * - 1st August 2012: Renamed levelplayer.h to jj1levelplayer.h
15 * - 5th August 2012: Created levelplayer.h from parts of jj1levelplayer.h,
16 * jj1bonuslevelplayer.h and jj2levelplayer.h
17 *
18 * @par Licence:
19 * Copyright (c) 2005-2017 AJ Thomson
20 *
21 * OpenJazz is distributed under the terms of
22 * the GNU General Public License, version 2.0
23 *
24 * @par Description:
25 * Deals with the creation and destruction of players in levels, and their
26 * interactions with other level objects.
27 */
28
29
30 #ifndef _LEVELPLAYER_H
31 #define _LEVELPLAYER_Hcxx . . $ `src/level/levelplayer.h:31:9`!
32
33
34 #include "io/gfx/video.h"cxx . . $ `<file>/src/io/gfx/video.h`/
35 #include "level/movable.h"cxx . . $ `<file>/src/level/movable.h`/
36
37
38 // Classes
39
40 class Playercxx . . $ Player#;
41
42 /// Level player
43 class LevelPlayercxx . . $ LevelPlayer# : public Movablecxx . . $ Movable# {
44
45 protected:
46 SDL_Color palettecxx . . $ LevelPlayer#palette.[MAX_PALETTE_COLORScxx . . $ `src/OpenJazz.h:71:9`!]; ///< Palette (for custom colours)
47
48 public:
49 Playercxx . . $ Player#* playercxx . . $ LevelPlayer#player.; ///< Corresponding game player
50
51 virtual ~cxx . . $ LevelPlayer#`~LevelPlayer`(49f6e7a06ebc5aa8).LevelPlayercxx . . $ LevelPlayer# () {};
52
53 virtual void resetcxx . . $ LevelPlayer#reset(3e454b8ccf442868). (int startX, int startY) = 0;
54
55 virtual int countBirdscxx . . $ LevelPlayer#countBirds(b126dc7c1de90089). () = 0;
56
57 virtual void sendcxx . . $ LevelPlayer#send(f25546b61a629de7). (unsigned char* buffer) = 0;
58 virtual void receivecxx . . $ LevelPlayer#receive(f25546b61a629de7). (unsigned char* buffer) = 0;
59
60 };
61
62 #endif
63