Files
MinecraftConsoles/Minecraft.World/Enemy.cpp

9 lines
253 B
C++
Raw Permalink Normal View History

2026-03-01 12:16:08 +08:00
#include "stdafx.h"
#include "Enemy.h"
EntitySelector *Enemy::ENEMY_SELECTOR = new Enemy::EnemyEntitySelector();
2026-03-01 12:16:08 +08:00
bool Enemy::EnemyEntitySelector::matches(shared_ptr<Entity> entity) const
{
return (entity != NULL) && entity->instanceof(eTYPE_ENEMY);
}