diff options
author | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-19 12:44:19 +0200 |
---|---|---|
committer | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-19 12:44:19 +0200 |
commit | f6ae6002c3db2535a9858cf88537845245e6e7ba (patch) | |
tree | 8ff2054270b689487d2d593734a09b5f04b9771f /source/blocks/Block.h | |
parent | Android: Finally a log! :D (diff) | |
download | cuberite-f6ae6002c3db2535a9858cf88537845245e6e7ba.tar cuberite-f6ae6002c3db2535a9858cf88537845245e6e7ba.tar.gz cuberite-f6ae6002c3db2535a9858cf88537845245e6e7ba.tar.bz2 cuberite-f6ae6002c3db2535a9858cf88537845245e6e7ba.tar.lz cuberite-f6ae6002c3db2535a9858cf88537845245e6e7ba.tar.xz cuberite-f6ae6002c3db2535a9858cf88537845245e6e7ba.tar.zst cuberite-f6ae6002c3db2535a9858cf88537845245e6e7ba.zip |
Diffstat (limited to '')
-rw-r--r-- | source/blocks/Block.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blocks/Block.h b/source/blocks/Block.h index 50c541551..2683cc3b5 100644 --- a/source/blocks/Block.h +++ b/source/blocks/Block.h @@ -18,7 +18,8 @@ public: virtual void OnDestroyed(cWorld *a_World, int a_X, int a_Y, int a_Z);
virtual void OnNeighborChanged(cWorld *a_World, int a_X, int a_Y, int a_Z);
static void NeighborChanged(cWorld *a_World, int a_X, int a_Y, int a_Z);
- virtual void OnClick(cWorld *a_World, cPlayer *a_Player, int a_X, int a_Y, int a_Z);
+ virtual void OnDigging(cWorld *a_World, cPlayer *a_Player, int a_X, int a_Y, int a_Z);
+ virtual void OnUse(cWorld *a_World, cPlayer *a_Player, int a_X, int a_Y, int a_Z);
virtual void PlaceBlock(cWorld *a_World, cPlayer *a_Player, NIBBLETYPE a_BlockMeta, int a_X, int a_Y, int a_Z, char a_Dir);
virtual int GetTickRate();
|