diff --git a/source/game/items/StarLiquidItem.hpp b/source/game/items/StarLiquidItem.hpp index 7550226..03a73cd 100644 --- a/source/game/items/StarLiquidItem.hpp +++ b/source/game/items/StarLiquidItem.hpp @@ -5,12 +5,13 @@ #include "StarFireableItem.hpp" #include "StarBeamItem.hpp" #include "StarEntityRendering.hpp" +#include "StarPreviewTileTool.hpp" namespace Star { STAR_CLASS(LiquidItem); -class LiquidItem : public Item, public FireableItem, public BeamItem { +class LiquidItem : public Item, public FireableItem, public PreviewTileTool, public BeamItem { public: LiquidItem(Json const& config, String const& directory, Json const& settings); virtual ~LiquidItem() {} @@ -27,7 +28,7 @@ public: LiquidId liquidId() const; float liquidQuantity() const; - List preview(bool shifting) const; + List preview(bool shifting) const override; bool canPlace(bool shifting) const; bool canPlaceAtTile(Vec2I pos) const;