Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4963 in orxonox.OLD for orxonox/trunk/src/world_entities/player.cc


Ignore:
Timestamp:
Jul 28, 2005, 2:43:15 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: added class turret, a subclass for turrets, this is not finished yet, but will be in some time from now…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/player.cc

    r4955 r4963  
    2424#include "weapon_manager.h"
    2525#include "test_gun.h"
     26#include "turret.h"
    2627#include "world.h"
    2728
     
    8586  wpLeft->setName("testGun Left");
    8687
     88  Weapon* turret = new Turret(this->weaponMan);
    8789  this->weaponMan->addWeapon(wpLeft, 1, 0);
    8890  this->weaponMan->addWeapon(wpRight,1 ,1);
    89   this->weaponMan->addWeapon(wpLeft, 3, 1);
     91  this->weaponMan->addWeapon(turret, 3, 1);
    9092
    9193  this->weaponMan->changeWeaponConfig(0);
Note: See TracChangeset for help on using the changeset viewer.