2021-09-13 15:53:43 +03:00
|
|
|
//
|
|
|
|
// Created by Иван Ильин on 03.06.2021.
|
|
|
|
//
|
|
|
|
|
2021-10-09 13:41:12 +03:00
|
|
|
#include "../engine/ResourceManager.h"
|
2021-09-13 15:53:43 +03:00
|
|
|
#include "Gun.h"
|
2021-10-16 20:22:55 +03:00
|
|
|
#include "../ShooterConsts.h"
|
2021-09-13 15:53:43 +03:00
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
2021-10-31 11:39:08 +03:00
|
|
|
Gun::Gun() : Weapon(30, 6, 2.0, 0.3, 800, 3.0,
|
|
|
|
ShooterConsts::GUN_FIRE_SOUND, ShooterConsts::GUN_RELOAD_SOUND, ObjectNameTag("gun"),
|
|
|
|
ShooterConsts::GUN_OBJ, Vec3D{3, 3, 3},
|
|
|
|
Vec3D{-1.8, 1.3, 1.8}, Vec3D{0, Consts::PI, 0}) {
|
2021-09-13 15:53:43 +03:00
|
|
|
}
|