Cuberite
A lightweight, fast and extensible game server for Minecraft
src
Mobs
Silverfish.h
Go to the documentation of this file.
1
2
#pragma once
3
4
#include "
AggressiveMonster.h
"
5
6
7
8
9
10
class
cSilverfish
:
11
public
cAggressiveMonster
12
{
13
using
Super
=
cAggressiveMonster
;
14
15
public
:
16
17
cSilverfish
();
18
19
CLASS_PROTODEF
(
cSilverfish
)
20
21
virtual
bool
DoTakeDamage
(
TakeDamageInfo
& a_TDI)
override
;
22
} ;
CLASS_PROTODEF
#define CLASS_PROTODEF(classname)
Definition:
Entity.h:13
AggressiveMonster.h
TakeDamageInfo
Definition:
Entity.h:60
cEntity
Definition:
Entity.h:76
cAggressiveMonster
Definition:
AggressiveMonster.h:12
cAggressiveMonster::cAggressiveMonster
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)
Definition:
AggressiveMonster.cpp:14
cSilverfish
Definition:
Silverfish.h:12
cSilverfish::cSilverfish
cSilverfish()
Definition:
Silverfish.cpp:15
cSilverfish::DoTakeDamage
virtual bool DoTakeDamage(TakeDamageInfo &a_TDI) override
Makes this entity take damage specified in the a_TDI.
Definition:
Silverfish.cpp:24
Generated on Fri Oct 25 2024 05:01:15 for Cuberite by
1.9.1