Changeset 1863 for code/branches/orxonox_tutorial/src
- Timestamp:
- Oct 1, 2008, 9:52:32 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/orxonox_tutorial/src/orxonox/objects/TutorialShip.cc
r1862 r1863 30 30 // Specify a console command that can be used in 31 31 // the shell or as key binding. 32 SetConsoleCommand(TutorialShip, fire, true) 33 .keybindMode(KeybindMode::OnHold); 32 /* INSERT CODE */ 34 33 35 34 // Make sure we can create an object of this class by XML … … 39 38 TutorialShip::TutorialShip() 40 39 { 41 RegisterObject(TutorialShip);40 /* INSERT CODE */ 42 41 43 42 // reset variables … … 57 56 void TutorialShip::setConfigValues() 58 57 { 59 SetConfigValue(reloadTime_, 0.125) 60 .description("The reload time of the weapon in seconds"); 58 /* INSERT CODE */ 61 59 } 62 60 … … 67 65 { 68 66 // Load our parameter "specialEffects". Case sensitive! 69 XMLPortParam(TutorialShip, "specialEffects", setSpecialEffects, 70 hasSpecialEffects, xmlelement, mode); 67 /* INSERT CODE */ 71 68 72 69 // Calls SpaceShip::XMLPort so that the SpaceShip XML parameters … … 75 72 76 73 // Display a message in shell/logfile/console 77 COUT(3) << "TutorialShip was loaded." << std::endl;74 /* INSERT CODE */ 78 75 79 76 // Additional tutorial expedition
Note: See TracChangeset
for help on using the changeset viewer.