Changeset 957 for code/branches/core2/src/orxonox/objects
- Timestamp:
- Mar 30, 2008, 5:38:03 AM (17 years ago)
- Location:
- code/branches/core2/src/orxonox/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core2/src/orxonox/objects/Ambient.cc
r947 r957 47 47 namespace orxonox 48 48 { 49 ConsoleCommand(Ambient, setAmbientLightTest, AccessLevel::Offline, false) ;49 ConsoleCommand(Ambient, setAmbientLightTest, AccessLevel::Offline, false).setDefaultValues(ColourValue(1, 1, 1, 1)); 50 50 51 51 CreateFactory(Ambient); -
code/branches/core2/src/orxonox/objects/Projectile.cc
r790 r957 71 71 SetConfigValue(lifetime_, 10.0).description("The time in seconds a projectile stays alive"); 72 72 SetConfigValue(speed_, 2000.0).description("The speed of a projectile in units per second"); 73 74 this->setVelocity(Vector3(1, 0, 0) * this->speed_); 73 75 } 74 76
Note: See TracChangeset
for help on using the changeset viewer.