1234567891011121314151617181920 |
- #include "Shotgun.h"
- Shotgun::Shotgun( Tirs_Gest* tirsGest )
- :Arme( 19, SHOTGUN, tirsGest, 620 )
- {
- //ctor
- }
- Shotgun::~Shotgun()
- {
- //dtor
- }
- void Shotgun::tirer(Vec pos, Vec visee, bool allie)
- {
- visee.rotateR( 0.05f );
- m_tirsGest->addTir( pos, visee, m_degats, allie);
- visee.rotateR( -0.10f );
- m_tirsGest->addTir( pos, visee, m_degats, allie);
- }
|