v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
19
source/game/interfaces/StarPreviewableItem.hpp
Normal file
19
source/game/interfaces/StarPreviewableItem.hpp
Normal file
|
@ -0,0 +1,19 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue