Cuberite
A lightweight, fast and extensible game server for Minecraft
Blaze.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "AggressiveMonster.h"
5 
6 
7 
8 
9 
10 class cBlaze :
11  public cAggressiveMonster
12 {
14 
15 public:
16  cBlaze(void);
17 
19 
20  virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
21  virtual bool Attack(std::chrono::milliseconds a_Dt) override;
22 } ;
Definition: FastNBT.h:131
cAggressiveMonster super
Definition: Blaze.h:13
Definition: Blaze.h:10
virtual bool Attack(std::chrono::milliseconds a_Dt) override
Try to perform attack returns true if attack was deemed successful (hit player, fired projectile...
Definition: Blaze.cpp:35
Definition: Entity.h:73
#define CLASS_PROTODEF(classname)
Definition: Entity.h:11
virtual void GetDrops(cItems &a_Drops, cEntity *a_Killer=nullptr) override
Returns the list of drops for this pawn when it is killed.
Definition: Blaze.cpp:22
This class bridges a vector of cItem for safe access via Lua.
Definition: Item.h:234
cBlaze(void)
Definition: Blaze.cpp:11