Changeset 10470 in orxonox.OLD for branches/blink
- Timestamp:
- Jan 29, 2007, 12:41:03 AM (18 years ago)
- Location:
- branches/blink/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blink/src/world_entities/effects/blink.cc
r10445 r10470 91 91 WorldEntity::loadParams(root); 92 92 93 LoadParam(root, "position", this, Blink, setPosition);93 LoadParam(root, "position", this, Blink, PNode::setAbsCoor); 94 94 LoadParam(root, "size", this, Blink, setSize); 95 95 LoadParam(root, "color", this, Blink, setColor); … … 105 105 void Blink::tick(float dt) 106 106 { 107 this->bBoard->setAbsCoor(this->getAbsCoor()); 108 107 109 timer += dt; 108 110 … … 118 120 119 121 this->bBoard->colorTexture(Color(color.r(), color.g(), color.b(), this->blinkStr)); 122 123 PRINTF(0)("hithere\n\n\n\n\n\n"); 120 124 } 121 125 -
branches/blink/src/world_entities/effects/blink.h
r10445 r10470 36 36 void loadParams(const TiXmlElement* root); 37 37 38 void setPosition(float x, float y, float z) { this->bBoard->setAbsCoor(x, y, z); } 38 //void setAbsCoor(const Vector& absCoor) { this->bBoard->setAbsCoor(absCoor); } 39 //void setAbsCoor(float x, float y, float z) { this->bBoard->setAbsCoor(x, y, z); } 40 //void setPosition(float x, float y, float z) { this->bBoard->setAbsCoor(x, y, z); } 39 41 void setSize(float s) { this->size = s; this->bBoard->setSize(this->size, this->size); } 40 42 void setPeriod(float t) { this->period = t; } -
branches/blink/src/world_entities/mount_point.cc
r10455 r10470 176 176 this->_mount->setParent( this); 177 177 178 this->_mount->toList( (OM_LIST)(this->getOMListNumber()+1));178 this->_mount->toList((OM_LIST)(this->getOMListNumber())); 179 179 } 180 180 else if( obj->isA( WeaponSlot::staticClassID()))
Note: See TracChangeset
for help on using the changeset viewer.