Files
MinecraftConsoles/Minecraft.World/DeadBushTile.h
void_17 7074f35e4b shared_ptr -> std::shared_ptr
This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
2026-03-02 15:58:20 +07:00

17 lines
429 B
C++

#pragma once
#include "Bush.h"
class Random;
class DeadBushTile : public Bush
{
friend class Tile;
protected:
DeadBushTile(int id);
virtual bool mayPlaceOn(int tile);
public:
virtual void updateDefaultShape(); // 4J Added override
virtual int getResource(int data, Random *random, int playerBonusLevel);
virtual void playerDestroy(Level *level, std::shared_ptr<Player> player, int x, int y, int z, int data);
};