mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-24 19:39:47 +00:00
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
20
src/world/level/tile/Mushroom.h
Executable file
20
src/world/level/tile/Mushroom.h
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef NET_MINECRAFT_WORLD_LEVEL_TILE__Mushroom_H__
|
||||
#define NET_MINECRAFT_WORLD_LEVEL_TILE__Mushroom_H__
|
||||
|
||||
#include "Bush.h"
|
||||
|
||||
class Mushroom : public Bush
|
||||
{
|
||||
typedef Bush super;
|
||||
public:
|
||||
Mushroom(int id, int tex);
|
||||
|
||||
void tick(Level* level, int x, int y, int z, Random* random);
|
||||
|
||||
bool mayPlace(Level* level, int x, int y, int z, unsigned char face);
|
||||
bool mayPlaceOn(int tile);
|
||||
|
||||
bool canSurvive(Level* level, int x, int y, int z);
|
||||
};
|
||||
|
||||
#endif /* NET_MINECRAFT_WORLD_LEVEL_TILE__Mushroom_H__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue