shooter/weapon/Shotgun.h

18 lines
488 B
C
Raw Normal View History

2021-09-13 15:53:43 +03:00
//
// Created by Иван Ильин on 02.06.2021.
//
#ifndef SHOOTER_SHOTGUN_H
#define SHOOTER_SHOTGUN_H
#include "Weapon.h"
class Shotgun final : public Weapon {
2021-09-13 15:53:43 +03:00
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;
2021-09-13 15:53:43 +03:00
};
#endif //SHOOTER_3DZAVR_SHOTGUN_H