Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 29, 2007, 12:41:03 AM (18 years ago)
Author:
stefalie
Message:

blink: blinki moutni works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/blink/src/world_entities/effects/blink.cc

    r10445 r10470  
    9191  WorldEntity::loadParams(root);
    9292
    93   LoadParam(root, "position", this, Blink, setPosition);
     93  LoadParam(root, "position", this, Blink, PNode::setAbsCoor);
    9494  LoadParam(root, "size", this, Blink, setSize);
    9595  LoadParam(root, "color", this, Blink, setColor);
     
    105105void Blink::tick(float dt)
    106106{
     107  this->bBoard->setAbsCoor(this->getAbsCoor());
     108
    107109  timer += dt;
    108110
     
    118120
    119121  this->bBoard->colorTexture(Color(color.r(), color.g(), color.b(), this->blinkStr));
     122
     123  PRINTF(0)("hithere\n\n\n\n\n\n");
    120124}
    121125
Note: See TracChangeset for help on using the changeset viewer.