1 module collidable;
2
3 import dsfml.graphics : FloatRect, RenderTarget;
4 import collider;
5
6 /// Interface that barriers should derive from
7 interface Collidable {
8 /// Returns a rectangle to be used for collision detection;
9 Collider collider() const;
10 }