geekbrains_gof/SBomber/include/House.h

19 lines
340 B
C
Raw Permalink Normal View History

2021-12-20 22:22:05 +00:00
#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;
};