vectozavr-shooter/Bonus.h

22 lines
446 B
C
Raw Normal View History

2021-09-13 15:53:43 +03:00
//
// Created by Иван Ильин on 05.06.2021.
//
#ifndef SHOOTER_BONUS_H
#define SHOOTER_BONUS_H
2021-10-09 13:41:12 +03:00
#include "engine/World.h"
2021-09-13 15:53:43 +03:00
#include "Player.h"
class Bonus final : public RigidBody {
2021-10-17 10:21:10 +03:00
private:
2021-09-13 15:53:43 +03:00
std::string _name;
public:
2021-10-17 20:52:21 +03:00
explicit Bonus(const std::string &bonusName, const std::string& filename, const Vec3D& scale = Vec3D{1, 1, 1});
2021-09-13 15:53:43 +03:00
[[nodiscard]] std::string name() const { return _name; }
};
#endif //SHOOTER_3DZAVR_BONUS_H