Changeset 11742 for code/branches
- Timestamp:
- Feb 12, 2018, 12:24:38 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Presentation_HS17_merge/src/modules/asteroids2D/Asteroids2DStone.cc
r11728 r11742 54 54 this->height = 646; 55 55 this->setPosition(randomPosition(this->width, this->height)); 56 this->setCollisionType Str("dynamic");56 this->setCollisionType(WorldEntity::CollisionType::Dynamic); 57 57 this->setVelocity(randomVelocity(MAX_SPEED)); 58 58 } … … 65 65 this->height = 646; 66 66 this->setPosition(pos); 67 this->setCollisionType Str("dynamic");67 this->setCollisionType(WorldEntity::CollisionType::Dynamic); 68 68 this->setVelocity(randomVelocity(MAX_SPEED)); 69 69 }
Note: See TracChangeset
for help on using the changeset viewer.