Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/spaceshipcontrol/src/world_entities/playable.cc @ 5854

Last change on this file since 5854 was 5854, checked in by snellen, 18 years ago

player.cc and player.h updated (both files in ../src/world_entities)

File size: 764 bytes
Line 
1/*
2   orxonox - the future of 3D-vertical-scrollers
3
4   Copyright (C) 2004 orx
5
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 2, or (at your option)
9   any later version.
10
11### File Specific:
12   main-programmer: Silvan Nellen
13   co-programmer: Benjamin Knecht
14*/
15
16#include "weapon_manager.h"
17#include "playable.h"
18
19Playable::Playable()
20{
21  this->init();
22}
23
24Playable::init()
25{
26  this->setClassID(CL_PLAYABLE, "Playable");
27  PRINTF(4)("PLAYABLE INIT\n");
28  this->weaponMan = new WeaponManager(this);
29}
30
31Playable::getWeaponManager()
32{
33  return weaponMan;
34}
35
36std::list<Event*>* Playable::getEventList()
37{
38  return events;
39}
Note: See TracBrowser for help on using the repository browser.