#pragma once #include "EntityTile_SPU.h" class DaylightDetectorTile_SPU : public EntityTile_SPU { public: DaylightDetectorTile_SPU(int id) : EntityTile_SPU(id) {} Icon_SPU *getTexture(int face, int data) { if (face == Facing::UP) { return &ms_pTileData->daylightDetector_icons[0]; } return &ms_pTileData->daylightDetector_icons[1]; }; virtual bool isSolidRender(bool isServerLevel = false) { return false; } virtual void updateDefaultShape() { setShape(0, 0, 0, 1, 6.0f / 16.0f, 1); }; virtual void updateShape() { setShape(0, 0, 0, 1, 6.0f / 16.0f, 1); }; };