SDL++
C++wrapperfortheSDLlibrary.
|
Represents a 2 dimensional coordinate. More...
#include <Coordinate.h>
Public Member Functions | |
Coordinate (T x, T y) | |
T | x () const |
T | y () const |
Represents a 2 dimensional coordinate.
T | The type of the coordinate elements. |
Definition at line 33 of file Coordinate.h.
sdl::misc::Coordinate< T >::Coordinate | ( | T | x, |
T | y | ||
) | [inline] |
Constructs a Coordinate from a x and a y.
x | The x coordinate. |
y | The y coordinate. |
Definition at line 40 of file Coordinate.h.
T sdl::misc::Coordinate< T >::x | ( | ) | const [inline] |
T sdl::misc::Coordinate< T >::y | ( | ) | const [inline] |