Show Shotgun.h syntax highlighted
#pragma once
#include "IWeapon.h"
/**
==========================
A shotgun - hmm
==========================
*/
class Shotgun : public IWeapon
{
public:
Shotgun(void);
/** Fire this weapon */
void Fire();
/** Reload this weapon */
void Reload();
/** Collide with this weapon */
bool CollideWith( IEntity *ent );
private:
/** Randomize bullets */
void SpreadBullets(Vector2f &forward );
public:
virtual ~Shotgun(void);
};
See more files for this project here