Faucet/Minecraft.World/Enemy.cpp
2026-03-09 16:37:23 +11:00

9 lines
253 B
C++

#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);
}