1
0
Fork 0
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:
Perttu Ahola 2011-07-30 18:51:15 +03:00
parent 4556c212db
commit d62ae0e18b
10 changed files with 140 additions and 57 deletions

View file

@ -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