4jcraft/targets/minecraft/world/entity/monster/Enemy.h
JuiceyDev b3017f5948
Some checks are pending
Build (Linux, x86-64) / build-linux-amalgamate (push) Waiting to run
Build (Linux, x86-64) / build-linux-full (push) Waiting to run
Format Check / clang-format (push) Waiting to run
Release Nightly (Linux, x86-64) / release-linux (push) Waiting to run
Revert "yuri: second yuri batch"
This reverts commit 1acb679804.
2026-04-07 13:06:37 +02:00

20 lines
574 B
C++

#pragma once
#include "minecraft/world/entity/Creature.h"
#include "minecraft/world/entity/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;
};