22 lines
338 B
C
22 lines
338 B
C
|
#pragma once
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#include "DestroyableGroundObject.h"
|
||
|
|
||
|
class Tank : 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 = 30;
|
||
|
};
|
||
|
|