aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/Enemy.cpp
blob: b9aa3e20ac34ed12586d76dd1c1ee29ca5c8dca9 (plain)
1
2
3
4
5
6
7
8
9
#include "stdafx.h"
#include "Enemy.h"

EntitySelector *Enemy::ENEMY_SELECTOR = new Enemy::EnemyEntitySelector();

bool Enemy::EnemyEntitySelector::matches(shared_ptr<Entity> entity) const
{
	return (entity != NULL) && entity->instanceof(eTYPE_ENEMY);
}