2024-02-25 14:46:47 +00:00
|
|
|
#pragma once
|
2023-06-20 04:33:09 +00:00
|
|
|
|
|
|
|
#include "StarGameTypes.hpp"
|
|
|
|
#include "StarDrawable.hpp"
|
|
|
|
|
|
|
|
namespace Star {
|
|
|
|
|
|
|
|
STAR_CLASS(PointableItem);
|
|
|
|
|
|
|
|
class PointableItem {
|
|
|
|
public:
|
|
|
|
virtual ~PointableItem() {}
|
|
|
|
|
|
|
|
virtual float getAngleDir(float aimAngle, Direction facingDirection);
|
|
|
|
virtual float getAngle(float angle);
|
|
|
|
virtual List<Drawable> drawables() const = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|