20 lines
324 B
C++
20 lines
324 B
C++
#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;
|
|
|
|
virtual DestroyableGroundObject* clone() const = 0;
|
|
|
|
protected:
|
|
|
|
};
|