summaryrefslogtreecommitdiff
path: root/src/point.h
blob: 31fdf3e4e27be27da792afc2702b37c2014632f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef POINT_H
#define POINT_H

#include "velocity.h"

class Point {
    private:
        float x;
        float y;
    public:
        Point();
        Point(const float x, const float y);
        void setX(const float x);
        void setY(const float y);
        float getX();
        float getY();
        void update(Velocity &vel);
};

#endif