2021-12-20 22:22:05 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include "GameObject.h"
|
|
|
|
|
|
|
|
class DestroyableGroundObject : public GameObject
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
virtual bool isInside(double x1, double x2) const = 0;
|
|
|
|
|
|
|
|
virtual inline uint16_t GetScore() const = 0;
|
|
|
|
|
2022-02-05 09:05:21 +00:00
|
|
|
virtual DestroyableGroundObject* clone() const = 0;
|
|
|
|
|
2021-12-20 22:22:05 +00:00
|
|
|
protected:
|
|
|
|
|
2022-02-05 09:05:21 +00:00
|
|
|
};
|