Simple C++ Game
EntityFamily.hpp
1 #pragma once
2 
3 #include <Entity.hpp>
4 
10 {
11 public:
19  virtual bool isInFamily(const Entity &entity) const = 0;
20 };
An abstract class that allows for the definition of a class of entity.
Definition: EntityFamily.hpp:10
virtual bool isInFamily(const Entity &entity) const =0
Evaluates if an entity is "in the family" by meeting the criteria of the class the family represents.
An entity in the game's component entity system.
Definition: Entity.hpp:14