osb/source/game/interfaces/StarPreviewableItem.hpp
2023-06-20 14:33:09 +10:00

20 lines
310 B
C++

#ifndef STAR_PREVIEWABLE_ITEM
#define STAR_PREVIEWABLE_ITEM
#include "StarDrawable.hpp"
namespace Star {
STAR_CLASS(Player);
STAR_CLASS(PreviewableItem);
class PreviewableItem {
public:
virtual ~PreviewableItem() {}
virtual List<Drawable> preview(PlayerPtr const& viewer = {}) const = 0;
};
}
#endif