blob: cf6f094af8f8e70dc63b6005bc553d95fc737aff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include "Golem.h"
class SnowMan : public Golem
{
public:
eINSTANCEOF GetType() { return eTYPE_SNOWMAN; }
static Entity *create(Level *level) { return new SnowMan(level); }
public:
SnowMan(Level *level);
virtual bool useNewAi();
virtual int getMaxHealth();
virtual void aiStep();
protected:
virtual int getDeathLoot();
virtual void dropDeathLoot(bool wasKilledByPlayer, int playerBonusLevel);
};
|