Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

playable.cc, playable.h, space_ship.cc and space_ship.h added in /src/world_entities/ and /src/world_entities/space_ships WARNING: DOESNT COMPILE

File size: 700 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: Patrick Boenzli
13   co-programmer: Christian Meyer
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}
Note: See TracBrowser for help on using the repository browser.