BlueBubble 1.0
A recommendation algorithm for movies based on a Netlfix database
|
a class representing coordinates More...
#include <coordinates.h>
Public Member Functions | |
int | get_x () |
a function to get the x-axis attribute | |
int | get_y () |
a function to get the y-axis attribute | |
coordinates (int _x, int _y) | |
void | move (coordinates move_to) |
change the coordinate values to move the associated piece | |
void | print () |
print the coordinates, utilized for debugging purposes | |
Private Attributes | |
int | x |
int | y |
a class representing coordinates
Definition at line 5 of file coordinates.h.
|
inline |
Definition at line 12 of file coordinates.h.
int coordinates::get_x | ( | ) |
a function to get the x-axis attribute
Definition at line 6 of file coordinates.cc.
int coordinates::get_y | ( | ) |
a function to get the y-axis attribute
Definition at line 12 of file coordinates.cc.
void coordinates::move | ( | coordinates | move_to | ) |
change the coordinate values to move the associated piece
move_to | the new coordinates |
Definition at line 23 of file coordinates.cc.
void coordinates::print | ( | ) |
print the coordinates, utilized for debugging purposes
Definition at line 17 of file coordinates.cc.
|
private |
Definition at line 7 of file coordinates.h.
|
private |
Definition at line 8 of file coordinates.h.