shooter/weapon/Gun.h

22 lines
575 B
C
Raw Normal View History

2021-09-13 15:53:43 +03:00
//
// Created by Иван Ильин on 03.06.2021.
//
#ifndef SHOOTER_GUN_H
#define SHOOTER_GUN_H
#include "Weapon.h"
2021-10-31 19:01:06 +03:00
#include "../engine/ResourceManager.h"
#include "../ShooterConsts.h"
2021-09-13 15:53:43 +03:00
class Gun final : public Weapon {
2021-09-13 15:53:43 +03:00
public:
2021-10-31 19:01:06 +03:00
explicit 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},
2021-11-06 18:32:55 +03:00
Vec3D{-2.2, 1.0, 2.0}, Vec3D{0, 0, 0}) {}
2021-09-13 15:53:43 +03:00
};
#endif //SHOOTER_3DZAVR_GUN_H