Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 14, 2016, 4:02:00 PM (9 years ago)
Author:
sagerj
Message:

today I got pawn'ed

Location:
code/branches/sagerjFS16/src/orxonox/worldentities/pawns
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/sagerjFS16/src/orxonox/worldentities/pawns/Pawn.cc

    r11099 r11166  
    430430    void Pawn::fired(unsigned int firemode)
    431431    {
     432        orxout() << "fired pawn " << firemode << endl;
    432433        if (this->weaponSystem_)
    433434            this->weaponSystem_->fire(firemode);
     435    }
     436
     437    void Pawn::released(unsigned int firemode)
     438    {
     439        orxout() << "released pawn " << firemode << endl;
     440        if (this->weaponSystem_)
     441            this->weaponSystem_->release(firemode);
    434442    }
    435443
  • code/branches/sagerjFS16/src/orxonox/worldentities/pawns/Pawn.h

    r11071 r11166  
    158158
    159159            virtual void fired(unsigned int firemode) override;
     160            virtual void released(unsigned int firemode) override;
    160161            virtual void postSpawn();
    161162
Note: See TracChangeset for help on using the changeset viewer.