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"
|
|
|
|
|
2021-09-19 11:25:10 +03:00
|
|
|
class Bonus : public RigidBody {
|
2021-09-13 15:53:43 +03:00
|
|
|
protected:
|
|
|
|
std::string _name;
|
|
|
|
public:
|
|
|
|
explicit Bonus(const std::string &bonusName, const std::string& filename, const std::string &materials = "", const Point4D& scale = Point4D{1, 1, 1});
|
|
|
|
|
|
|
|
[[nodiscard]] std::string name() const { return _name; }
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //SHOOTER_3DZAVR_BONUS_H
|