Cuberite
A lightweight, fast and extensible game server for Minecraft
Silverfish.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "AggressiveMonster.h"
5 
6 
7 
8 
9 
11  public cAggressiveMonster
12 {
14 
15 public:
16 
17  cSilverfish();
18 
20 
21  virtual bool DoTakeDamage(TakeDamageInfo & a_TDI) override;
22 } ;
#define CLASS_PROTODEF(classname)
Definition: Entity.h:13
Definition: Entity.h:76
cAggressiveMonster(const AString &a_ConfigName, eMonsterType a_MobType, const AString &a_SoundHurt, const AString &a_SoundDeath, const AString &a_SoundAmbient, float a_Width, float a_Height)
virtual bool DoTakeDamage(TakeDamageInfo &a_TDI) override
Makes this entity take damage specified in the a_TDI.
Definition: Silverfish.cpp:24