Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2007, 3:40:55 AM (16 years ago)
Author:
landauf
Message:

added Ogre::Vector2 as configurable type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/objects/test3.cc

    r434 r450  
    2020        SetConfigValue(value_bool_, true);
    2121        SetConfigValue(value_string_, "Dies ist ein Test");
     22        SetConfigValue(value_vector2_, Vector2(101, 202));
    2223        SetConfigValue(value_vector3_, Vector3(13, 26, 39));
    2324        SetConfigValue(value_colourvalue_, ColourValue(1.0, 0.5, 0.25, 0.887));
     
    2829    }
    2930
     31        #include <fstream>
    3032    void Test3::configOutput()
    3133    {
     
    3436        std::cout << this->value_bool_ << std::endl;
    3537        std::cout << this->value_string_ << std::endl;
     38        std::cout << this->value_vector2_ << std::endl;
    3639        std::cout << this->value_vector3_ << std::endl;
    3740        std::cout << this->value_colourvalue_ << std::endl;
Note: See TracChangeset for help on using the changeset viewer.