2026-03-01 12:16:08 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "Tile.h"
|
|
|
|
|
|
|
|
|
|
class WebTile : public Tile
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
WebTile(int id);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
2026-03-02 17:37:16 +07:00
|
|
|
void entityInside(Level *level, int x, int y, int z, shared_ptr<Entity> entity);
|
2026-03-01 12:16:08 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
bool isSolidRender(bool isServerLevel = false);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
AABB *getAABB(Level *level, int x, int y, int z);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
int getRenderShape();
|
|
|
|
|
|
|
|
|
|
bool blocksLight();
|
|
|
|
|
bool isCubeShaped();
|
|
|
|
|
virtual int getResource(int data, Random *random, int playerBonusLevel);
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
bool isSilkTouchable();
|
|
|
|
|
};
|