December 2014 files
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
#include "stdafx.h"
|
||||
#include "Enemy.h"
|
||||
|
||||
EntitySelector *Enemy::ENEMY_SELECTOR = new Enemy::EnemyEntitySelector();
|
||||
|
||||
|
||||
const int Enemy::XP_REWARD_NONE = 0;
|
||||
const int Enemy::XP_REWARD_SMALL = 3;
|
||||
const int Enemy::XP_REWARD_MEDIUM = 5;
|
||||
const int Enemy::XP_REWARD_LARGE = 10;
|
||||
const int Enemy::XP_REWARD_HUGE = 20;
|
||||
bool Enemy::EnemyEntitySelector::matches(shared_ptr<Entity> entity) const
|
||||
{
|
||||
return (entity != NULL) && entity->instanceof(eTYPE_ENEMY);
|
||||
}
|
||||
Reference in New Issue
Block a user