- Timestamp:
- Dec 30, 2015, 10:07:09 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/orxonox/worldentities/pawns/SpaceShip.cc
r10916 r11004 80 80 // SpaceShip is always a physical object per default 81 81 // Be aware of this call: The collision type legality check will not reach derived classes! 82 this->setCollisionType(WorldEntity:: Dynamic);82 this->setCollisionType(WorldEntity::CollisionType::Dynamic); 83 83 // Get notification about collisions 84 84 this->enableCollisionCallback(); … … 143 143 bool SpaceShip::isCollisionTypeLegal(WorldEntity::CollisionType type) const 144 144 { 145 if (type != WorldEntity:: Dynamic)145 if (type != WorldEntity::CollisionType::Dynamic) 146 146 { 147 147 orxout(internal_warning) << "Cannot tell a SpaceShip not to be dynamic! Ignoring." << endl;
Note: See TracChangeset
for help on using the changeset viewer.