Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

added Ogre::Vector2 as configurable type

Location:
code/branches/objecthierarchy/src/orxonox/objects
Files:
2 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;
  • code/branches/objecthierarchy/src/orxonox/objects/test3.h

    r434 r450  
    2727            bool                value_bool_;
    2828            std::string         value_string_;
     29            Vector2             value_vector2_;
    2930            Vector3             value_vector3_;
    3031            ColourValue         value_colourvalue_;
Note: See TracChangeset for help on using the changeset viewer.