Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 21, 2016, 4:47:39 PM (9 years ago)
Author:
sagerj
Message:

everything beneath weaponmode changed to push/release - wm modified only need to implement timer/ticker

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

Legend:

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

    r11170 r11174  
    428428    */
    429429
    430     void Pawn::fired(unsigned int firemode)
    431     {
    432         if (this->weaponSystem_)
    433             this->weaponSystem_->fire(firemode);
     430    void Pawn::pushed(unsigned int firemode)
     431    {
     432        if (this->weaponSystem_)
     433            this->weaponSystem_->push(firemode);
    434434    }
    435435
  • code/branches/sagerjFS16/src/orxonox/worldentities/pawns/Pawn.h

    r11166 r11174  
    157157            virtual void kill();
    158158
    159             virtual void fired(unsigned int firemode) override;
     159            virtual void pushed(unsigned int firemode) override;
    160160            virtual void released(unsigned int firemode) override;
    161161            virtual void postSpawn();
Note: See TracChangeset for help on using the changeset viewer.