16 lines
450 B
C++
16 lines
450 B
C++
//
|
|
// Created by Иван Ильин on 03.06.2021.
|
|
//
|
|
|
|
#include "../engine/ResourceManager.h"
|
|
#include "Gun.h"
|
|
#include "../ShooterConsts.h"
|
|
|
|
using namespace std;
|
|
|
|
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}) {
|
|
}
|