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"
|
|
|
|
|
2021-10-12 20:18:56 +03:00
|
|
|
class Shotgun final : public Weapon {
|
2021-09-13 15:53:43 +03:00
|
|
|
public:
|
|
|
|
explicit Shotgun(int ammo = 15, const std::string& weaponName = "shotgun");
|
2021-10-18 18:30:02 +03:00
|
|
|
std::map<ObjectNameTag, double> processFire(std::function<std::pair<Vec3D, ObjectNameTag>(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
|