mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 03:33:36 +00:00
19 lines
477 B
C++
19 lines
477 B
C++
#pragma once
|
|
#include "PlantTile.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);
|
|
};
|