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