2021-09-13 15:53:43 +03:00
|
|
|
//
|
|
|
|
// Created by Иван Ильин on 06.06.2021.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef SHOOTER_RIFLE_H
|
|
|
|
#define SHOOTER_RIFLE_H
|
|
|
|
|
|
|
|
#include "Weapon.h"
|
2022-07-11 16:58:05 +03:00
|
|
|
#include "../engine/utils/ResourceManager.h"
|
2021-10-31 19:01:06 +03:00
|
|
|
#include "../ShooterConsts.h"
|
2021-09-13 15:53:43 +03:00
|
|
|
|
2021-10-12 20:18:56 +03:00
|
|
|
class Rifle final : public Weapon {
|
2021-09-13 15:53:43 +03:00
|
|
|
public:
|
2022-07-11 16:58:05 +03:00
|
|
|
explicit Rifle() : Weapon(5, 1, 1.0, 1.0, 10000, 0.5,
|
2021-10-31 19:01:06 +03:00
|
|
|
ShooterConsts::RIFLE_FIRE_SOUND, ShooterConsts::RIFLE_RELOAD_SOUND,
|
|
|
|
ObjectNameTag("rifle"), ShooterConsts::RIFLE_OBJ, Vec3D{3, 3, 3},
|
2021-11-06 18:32:55 +03:00
|
|
|
Vec3D{-2.6, 1, 1.5},Vec3D{0, 0, 0}) {}
|
2021-09-13 15:53:43 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //SHOOTER_3DZAVR_RIFLE_H
|