osb/source/game/interfaces/StarPreviewableItem.hpp

20 lines
310 B
C++
Raw Normal View History

2023-06-20 04:33:09 +00:00
#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