Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1852


Ignore:
Timestamp:
Sep 28, 2008, 5:15:55 PM (16 years ago)
Author:
rgrieder
Message:

TutorialShip compiles now. Still a stub.

Location:
code/branches/orxonox_tutorial/src/orxonox/objects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/orxonox_tutorial/src/orxonox/objects/TutorialShip.cc

    r1847 r1852  
    5454    }
    5555
     56    bool TutorialShip::create()
     57    {
     58        return true;
     59    }
     60
    5661    TutorialShip::~TutorialShip()
    5762    {
    5863    }
    59 
    6064   
    61     void SpaceShip::setConfigValues()
     65    void TutorialShip::setConfigValues()
    6266    {
    6367        //SetConfigValue(bInvertYAxis_, false).description("Set this to true for joystick-like mouse behaviour (mouse up = ship down).");
     
    6670    }
    6771
     72    void TutorialShip::registerAllVariables()
     73    {
     74    }
    6875   
    6976    /**
     
    7380        @return The XML-element
    7481    */
    75     void SpaceShip::XMLPort(Element& xmlelement, XMLPort::Mode mode)
     82    void TutorialShip::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    7683    {
    7784        SUPER(TutorialShip, XMLPort, xmlelement, mode);
     
    8188
    8289   
    83     void SpaceShip::tick(float dt)
     90    void TutorialShip::tick(float dt)
    8491    {
    8592        SUPER(TutorialShip, tick, dt);
    8693    }
    8794
     95    void TutorialShip::fire()
     96    {
     97    }
    8898}
  • code/branches/orxonox_tutorial/src/orxonox/objects/TutorialShip.h

    r1847 r1852  
    2929#ifndef _TutorialShip_H__
    3030#define _TutorialShip_H__
     31
     32#include "OrxonoxPrereqs.h"
     33
     34#include <OgrePrerequisites.h>
    3135#include <string>
    32 #include "OrxonoxPrereqs.h"
    33 #include <OgrePrerequisites.h>
    34 
    3536#include "util/Math.h"
    3637#include "Camera.h"
     
    3839#include "RadarViewable.h"
    3940#include "tools/BillboardSet.h"
     41#include "SpaceShip.h"
    4042
    4143namespace orxonox
     
    4749            ~TutorialShip();
    4850
    49         private:
    5051            bool create();
    5152            void registerAllVariables();
     
    5657            // Methods for console commands
    5758            static void fire();
     59
     60        private:
    5861    };
    5962}
Note: See TracChangeset for help on using the changeset viewer.