geekbrains_gof/SBomber/include/House.h

19 lines
340 B
C++

#pragma once
#include "DestroyableGroundObject.h"
#include <cstdint>
class House : public DestroyableGroundObject {
public:
bool isInside(double x1, double x2) const override;
inline uint16_t GetScore() const override {
return score;
}
void Draw() const override;
private:
const uint16_t score = 40;
};