- Timestamp:
- Nov 17, 2016, 4:58:06 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/HUD_HS16/src/modules/overlays/hud/HUDPickupSystem.cc
r11277 r11293 50 50 overlayElement_->setPosition(0.0f,0.0f); 51 51 overlayElement_->setDimensions(0.70f,0.15f); 52 orxout() << "hello HUDPickupSystem" << endl;52 orxout() << "hello here is the HUDPickupSystem" << endl; 53 53 this->background_->addChild(overlayElement_); 54 54 … … 65 65 //TODO: XMLPort 66 66 67 void HUDPickupSystem::updatePickupList(std::vector< Pickup> picks)67 void HUDPickupSystem::updatePickupList(std::vector<WeakPtr<Pickup>> picks) 68 68 { 69 for(Pickup p : picks)69 for(Pickup* p : picks) 70 70 { 71 HUDPickupItem item = new HUDPickupItem(this->getContext());72 item .initializeMaterial(p.getRepresentationName());71 HUDPickupItem* item = new HUDPickupItem(this->getContext()); 72 item->initializeMaterial(p->getRepresentationName()); 73 73 } 74 74 }
Note: See TracChangeset
for help on using the changeset viewer.