the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 21 lines 491 B view raw
1#pragma once 2#include "Creature.h" 3#include "EntitySelector.h" 4 5class Enemy : public Creature 6{ 7public: 8 class EnemyEntitySelector : public EntitySelector 9 { 10 bool matches(shared_ptr<Entity> entity) const; 11 }; 12 13 static const int XP_REWARD_NONE = 0; 14 static const int XP_REWARD_SMALL = 3; 15 static const int XP_REWARD_MEDIUM = 5; 16 static const int XP_REWARD_LARGE = 10; 17 static const int XP_REWARD_HUGE = 20; 18 static const int XP_REWARD_BOSS = 50; 19 20 static EntitySelector *ENEMY_SELECTOR; 21};