- Timestamp:
- Sep 30, 2008, 4:25:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/orxonox_tutorial/src/orxonox/objects/TutorialShip.cc
r1857 r1859 3 3 * > www.orxonox.net < 4 4 * 5 * 6 * License notice: 7 * 8 * This program is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU General Public License 10 * as published by the Free Software Foundation; either version 2 11 * of the License, or (at your option) any later version. 12 * 13 * This program is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with this program; if not, write to the Free Software 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 21 * 22 * Author: 23 * Oliver 'greenman' Scheuss, Reto '1337' Grieder 24 * Co-authors: 25 * ... 26 * 5 * TUTORIAL 27 6 */ 28 7 … … 36 15 #include "util/Convert.h" 37 16 #include "util/Debug.h" 38 #include "util/Math.h"39 17 #include "core/ConfigValueIncludes.h" 40 18 #include "core/ConsoleCommand.h" … … 90 68 // are loaded too. 91 69 SUPER(TutorialShip, XMLPort, xmlelement, mode); 70 71 // Display a message in shell/logfile/console 72 COUT(3) << "TutorialShip was loaded." << std::endl; 92 73 } 93 74 … … 105 86 } 106 87 107 // virtual function used by back end class SpaceShip. 108 float TutorialShip::getReloadTime() 109 { 110 return this->reloadTime_; 111 } 88 /*** NOT SO IMPORTATANT... ***/ 112 89 113 90 // run time update method. Gets called every frame with the delta time that … … 119 96 } 120 97 98 // virtual function used by back end class SpaceShip. 99 float TutorialShip::getReloadTime() 100 { 101 return this->reloadTime_; 102 } 103 121 104 // Fire a projectile. Delegated to the back end class SpaceShip. 122 105 // Function content is insignificant for the tutorial.
Note: See TracChangeset
for help on using the changeset viewer.