blob: 9d5f46038e6c62c595116e01bc48e8e081589473 (
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 "Creature.h"
#include "EntitySelector.h"
class Enemy : public Creature
{
public:
class EnemyEntitySelector : public EntitySelector
{
bool matches(shared_ptr<Entity> entity) const;
};
static const int XP_REWARD_NONE = 0;
static const int XP_REWARD_SMALL = 3;
static const int XP_REWARD_MEDIUM = 5;
static const int XP_REWARD_LARGE = 10;
static const int XP_REWARD_HUGE = 20;
static const int XP_REWARD_BOSS = 50;
static EntitySelector *ENEMY_SELECTOR;
};
|