mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 09:23:37 +00:00
29 lines
556 B
C++
29 lines
556 B
C++
#pragma once
|
|
|
|
#include "Tile.h"
|
|
|
|
class WebTile : public Tile {
|
|
public:
|
|
WebTile(int id);
|
|
|
|
public:
|
|
void entityInside(Level* level, int x, int y, int z,
|
|
std::shared_ptr<Entity> entity);
|
|
|
|
public:
|
|
bool isSolidRender(bool isServerLevel = false);
|
|
|
|
public:
|
|
std::optional<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();
|
|
};
|