mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 02:03:38 +00:00
8 lines
273 B
C++
8 lines
273 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 != NULL) && entity->instanceof(eTYPE_ENEMY);
|
|
} |