Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 5, 2007, 8:43:21 PM (18 years ago)
Author:
rgrieder
Message:
  • merged "includ" folder into the "src" folder
  • started writing the weaponManager
  • renamed 2 files with capital letters
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/main_reto_vs05/src/orxonox_ship.cc

    r161 r169  
    3535
    3636#include "orxonox_ship.h"
    37 
    38 namespace Orxonox {
     37#include "weapon_manager.h"
     38
     39
     40namespace orxonox {
    3941  using namespace Ogre;
    4042
     
    5254
    5355
    54 
    55 
    5656  /**
    5757  * Standard constructor, that only initalizes a few variables. Some of them
     
    9999          fishNode->attachObject(shipEntity_);
    100100          fishNode->setScale(Vector3(10, 10, 10));
     101
     102    // initialise weapon(s)
     103    SceneNode *mainWeaponNode = rootNode_->createChildSceneNode("mainWeaponNode");
     104    mainWeapon_ = new WeaponManager(sceneMgr_, mainWeaponNode, 1);
    101105
    102106          return true;
Note: See TracChangeset for help on using the changeset viewer.