mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Rats are now eatable. Also made their selection box move smoothly.
This commit is contained in:
parent
4556c212db
commit
d62ae0e18b
10 changed files with 140 additions and 57 deletions
|
@ -42,6 +42,7 @@ Some planning
|
|||
|
||||
class ServerEnvironment;
|
||||
class InventoryItem;
|
||||
class Player;
|
||||
|
||||
class ServerActiveObject : public ActiveObject
|
||||
{
|
||||
|
@ -105,6 +106,10 @@ public:
|
|||
*/
|
||||
virtual u16 punch(const std::string &toolname, v3f dir)
|
||||
{return 0;}
|
||||
|
||||
/*
|
||||
*/
|
||||
virtual void rightClick(Player *player){}
|
||||
|
||||
/*
|
||||
Number of players which know about this object. Object won't be
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue