Changeset 797 for code/branches/core/src/orxonox/objects
- Timestamp:
- Feb 11, 2008, 3:29:16 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core/src/orxonox/objects/test3.cc
r793 r797 51 51 SetConfigValue(value_bool_, 1); 52 52 SetConfigValue(value_string_, "This is a test"); 53 //SetConfigValue(value_constchar_, "This is another test");53 SetConfigValue(value_constchar_, "This is another test"); 54 54 SetConfigValue(value_vector2_, Vector2(101, 202)); 55 55 SetConfigValue(value_vector3_, Vector3(13, 26, 39)); … … 63 63 void Test3::configOutput() 64 64 { 65 std::cout << this->value_int_ << std::endl;66 std::cout << this->value_uint_ << std::endl;67 std::cout << (int)this->value_char_ << std::endl;68 std::cout << (int)this->value_uchar_ << std::endl;69 std::cout << this->value_float_ << std::endl;70 std::cout << this->value_double_ << std::endl;71 std::cout << this->value_bool_ << std::endl;72 std::cout << this->value_string_ << std::endl;73 std::cout << this->value_constchar_ << std::endl;74 std::cout << this->value_vector2_ << std::endl;75 std::cout << this->value_vector3_ << std::endl;76 std::cout << this->value_colourvalue_ << std::endl;65 std::cout << "int: " << this->value_int_ << std::endl; 66 std::cout << "uint: " << this->value_uint_ << std::endl; 67 std::cout << "char: " << (int)this->value_char_ << std::endl; 68 std::cout << "uchar: " << (int)this->value_uchar_ << std::endl; 69 std::cout << "float: " << this->value_float_ << std::endl; 70 std::cout << "double: " << this->value_double_ << std::endl; 71 std::cout << "bool: " << this->value_bool_ << std::endl; 72 std::cout << "string: " << this->value_string_ << std::endl; 73 std::cout << "constchar: " << this->value_constchar_ << std::endl; 74 std::cout << "vector2: " << this->value_vector2_ << std::endl; 75 std::cout << "vector3: " << this->value_vector3_ << std::endl; 76 std::cout << "colourvalue: " << this->value_colourvalue_ << std::endl; 77 77 } 78 78
Note: See TracChangeset
for help on using the changeset viewer.