|
Last change
on this file since 5846 was
5841,
checked in by snellen, 20 years ago
|
|
player.cc and player.h updated (both files in ../src/world_entities)
|
|
File size:
698 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 | |
|---|
| 19 | Playable::Playable() |
|---|
| 20 | { |
|---|
| 21 | this->init(); |
|---|
| 22 | } |
|---|
| 23 | |
|---|
| 24 | Playable::init() |
|---|
| 25 | { |
|---|
| 26 | this->setClassID(CL_PLAYABLE, "Playable"); |
|---|
| 27 | PRINTF(4)("PLAYABLE INIT\n"); |
|---|
| 28 | this->weaponMan = new WeaponManager(this); |
|---|
| 29 | } |
|---|
| 30 | |
|---|
| 31 | Playable::getWeaponManager() |
|---|
| 32 | { |
|---|
| 33 | return weaponMan; |
|---|
| 34 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.