mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftConsoles-141217.git
synced 2026-10-24 05:52:19 +01:00
Initial commit
This commit is contained in:
commit
2dfcaaa842
5375 files changed
+978475
No files matched your search
@@ -0,0 +1,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;
|
||||
};
|
||||
Reference in new issue
Block a user