Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1863


Ignore:
Timestamp:
Oct 1, 2008, 9:52:32 AM (16 years ago)
Author:
rgrieder
Message:

final adjustments to the tutorial

File:
1 edited

Legend:

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

    r1862 r1863  
    3030    // Specify a console command that can be used in
    3131    // the shell or as key binding.
    32     SetConsoleCommand(TutorialShip, fire, true)
    33         .keybindMode(KeybindMode::OnHold);
     32    /* INSERT CODE */
    3433
    3534    // Make sure we can create an object of this class by XML
     
    3938    TutorialShip::TutorialShip()
    4039    {
    41         RegisterObject(TutorialShip);
     40        /* INSERT CODE */
    4241
    4342        // reset variables
     
    5756    void TutorialShip::setConfigValues()
    5857    {
    59         SetConfigValue(reloadTime_, 0.125)
    60             .description("The reload time of the weapon in seconds");
     58        /* INSERT CODE */
    6159    }
    6260   
     
    6765    {
    6866        // Load our parameter "specialEffects". Case sensitive!
    69         XMLPortParam(TutorialShip, "specialEffects", setSpecialEffects,
    70             hasSpecialEffects, xmlelement, mode);
     67        /* INSERT CODE */
    7168
    7269        // Calls SpaceShip::XMLPort so that the SpaceShip XML parameters
     
    7572
    7673        // Display a message in shell/logfile/console
    77         COUT(3) << "TutorialShip was loaded." << std::endl;
     74        /* INSERT CODE */
    7875
    7976        // Additional tutorial expedition
Note: See TracChangeset for help on using the changeset viewer.