|
MochiEngine
|
Class representing a point in space. This is meant to be used for checking for collisions between different types of shapes. More...
#include <Shapes.h>
Public Member Functions | |
| Point (const Vector2f &position) | |
| virtual std::unique_ptr< Shape > | Clone () const |
| virtual bool | IsColliding (const Shape &other) const override |
| virtual bool | Collides (const Point &p) const override |
| virtual bool | Collides (const Line &l) const override |
| virtual bool | Collides (const Circle &c) const override |
| virtual bool | Collides (const Rectangle &r) const override |
| Public Member Functions inherited from Mochi::Physics::Shape | |
| Shape (const Vector2f &position) | |
Additional Inherited Members | |
| Public Attributes inherited from Mochi::Physics::Shape | |
| Vector2f | Position |
Class representing a point in space. This is meant to be used for checking for collisions between different types of shapes.
|
virtual |
Implements Mochi::Physics::Shape.
|
overridevirtual |
Implements Mochi::Physics::Shape.
|
overridevirtual |
Implements Mochi::Physics::Shape.
|
overridevirtual |
Implements Mochi::Physics::Shape.
|
overridevirtual |
Implements Mochi::Physics::Shape.
|
overridevirtual |
Implements Mochi::Physics::Shape.