12 # define I_COLLIDER_H_
14 # include "Graphics/i_behavior.h"
37 virtual bool isValid(std::string
const& obj_1, std::string
const& obj_2) = 0;
virtual bool isCollision(IObject *obj_1, IObject *obj_2)=0
Compute if the couple of objects is colliding.
Define the interface of an object.
Definition: i_object.h:24
Contains all the class that define the graphic environment.
virtual ~ICollider()
Destructor.
Definition: i_collider.h:28
Define the interface for the collider object.
Definition: i_collider.h:22
Define a behavior for a collider.
Definition: i_behavior.h:22
virtual bool isValid(std::string const &obj_1, std::string const &obj_2)=0
Verify if the couple of objects is supported by the collider.
virtual IBehavior * getAction(void) const =0
Get the action that the collider will execute.