mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-27 21:53:36 +00:00
20 lines
533 B
C++
20 lines
533 B
C++
#pragma once
|
|
#include "Mobs/Creature.h"
|
|
#include "EntitySelector.h"
|
|
|
|
class Enemy : public Creature {
|
|
public:
|
|
class EnemyEntitySelector : public EntitySelector {
|
|
bool matches(std::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;
|
|
};
|