v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
30
source/game/items/StarCodexItem.hpp
Normal file
30
source/game/items/StarCodexItem.hpp
Normal file
|
@ -0,0 +1,30 @@
|
|||
#ifndef STAR_CODEX_ITEM_HPP
|
||||
#define STAR_CODEX_ITEM_HPP
|
||||
|
||||
#include "StarItem.hpp"
|
||||
#include "StarPlayerCodexes.hpp"
|
||||
#include "StarSwingableItem.hpp"
|
||||
|
||||
namespace Star {
|
||||
|
||||
class CodexItem : public Item, public SwingableItem {
|
||||
public:
|
||||
CodexItem(Json const& config, String const& directory, Json const& data);
|
||||
virtual ItemPtr clone() const override;
|
||||
|
||||
virtual List<Drawable> drawables() const override;
|
||||
|
||||
virtual void fireTriggered() override;
|
||||
|
||||
virtual List<Drawable> iconDrawables() const override;
|
||||
virtual List<Drawable> dropDrawables() const override;
|
||||
|
||||
private:
|
||||
String m_codexId;
|
||||
List<Drawable> m_iconDrawables;
|
||||
List<Drawable> m_worldDrawables;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue