Initial commit

This commit is contained in:
Stillkill committed 2026-03-08 15:20:20 -05:00
commit 2dfcaaa842
5375 files changed
+978475

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
#pragma once
#include "Bush.h"
class Random;
class Mushroom : public Bush
{
friend class Tile;
protected:
Mushroom(int id);
public:
virtual void updateDefaultShape(); // 4J Added override
virtual void tick(Level *level, int x, int y, int z, Random *random);
virtual bool mayPlace(Level *level, int x, int y, int z);
protected:
virtual bool mayPlaceOn(int tile);
public:
virtual bool canSurvive(Level *level, int x, int y, int z);
bool growTree(Level *level, int x, int y, int z, Random *random);
};