4jcraft/Minecraft.World/Entities/Enemy.cpp
MatthewBeshay dfb0e3b03e refactor: replace NULL with nullptr across C++ codebase
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
2026-03-30 16:25:52 +11:00

8 lines
276 B
C++

#include "../Platform/stdafx.h"
#include "Enemy.h"
EntitySelector* Enemy::ENEMY_SELECTOR = new Enemy::EnemyEntitySelector();
bool Enemy::EnemyEntitySelector::matches(std::shared_ptr<Entity> entity) const {
return (entity != nullptr) && entity->instanceof(eTYPE_ENEMY);
}