2021-09-13 15:53:43 +03:00
|
|
|
//
|
|
|
|
// Created by Иван Ильин on 05.06.2021.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef SHOOTER_GOLD_AK47_H
|
|
|
|
#define SHOOTER_GOLD_AK47_H
|
|
|
|
|
|
|
|
#include "Weapon.h"
|
2021-10-16 20:22:55 +03:00
|
|
|
#include "../ShooterConsts.h"
|
2021-09-13 15:53:43 +03:00
|
|
|
|
2021-10-12 20:18:56 +03:00
|
|
|
class Gold_Ak47 final : public Weapon {
|
2021-09-13 15:53:43 +03:00
|
|
|
public:
|
2021-10-22 19:42:32 +03:00
|
|
|
explicit Gold_Ak47(int ammo = 200, const std::string& weaponName = "gold_ak47") : Weapon(weaponName, ShooterConsts::GOLD_AK47_OBJ, Vec3D{3, 3, 3}, Vec3D{-2.2, 1.0, 1.3}, Vec3D{0, Consts::PI, 0}) {
|
2021-10-17 19:38:16 +03:00
|
|
|
fireSound = ShooterConsts::GOLD_AK47_FIRE_SOUND;
|
|
|
|
reloadSound = ShooterConsts::GOLD_AK47_RELOAD_SOUND;
|
2021-09-13 15:53:43 +03:00
|
|
|
|
|
|
|
_initialPack = 200;
|
|
|
|
_spreading = 1.0;
|
|
|
|
_reloadTime = 1.5;
|
|
|
|
_clipCapacity = 60;
|
|
|
|
_stockAmmo = ammo - _clipCapacity;
|
|
|
|
_fireDelay = 0.05;
|
|
|
|
_damage = 600;
|
|
|
|
_clipAmmo = _clipCapacity;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //SHOOTER_3DZAVR_GOLD_AK47_H
|