18 lines
482 B
C++
18 lines
482 B
C++
//
|
|
// Created by Иван Ильин on 02.06.2021.
|
|
//
|
|
|
|
#ifndef SHOOTER_SHOTGUN_H
|
|
#define SHOOTER_SHOTGUN_H
|
|
|
|
#include "Weapon.h"
|
|
|
|
class Shotgun : public Weapon {
|
|
public:
|
|
explicit Shotgun(int ammo = 15, const std::string& weaponName = "shotgun");
|
|
std::map<std::string, double> processFire(std::function<std::pair<Vec3D, std::string>(const Vec3D&, const Vec3D&)> rayCastFunction, const Vec3D& position, const Vec3D& direction) override;
|
|
};
|
|
|
|
|
|
#endif //SHOOTER_3DZAVR_SHOTGUN_H
|