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:
|
2021-10-28 16:58:02 +03:00
|
|
|
explicit Shotgun(const std::string& weaponName = "shotgun");
|
2021-10-22 19:42:32 +03:00
|
|
|
std::map<ObjectNameTag, double> processFire(std::function<IntersectionInformation(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
|