Add missing nostalgia directory level in src tree
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2016-2017 gtalent2@gmail.com
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
namespace nostalgia {
|
||||
namespace common {
|
||||
|
||||
class Point {
|
||||
public:
|
||||
int X = 0;
|
||||
int Y = 0;
|
||||
|
||||
Point();
|
||||
|
||||
Point(int x, int y);
|
||||
|
||||
Point operator+(common::Point p) const;
|
||||
|
||||
Point operator-(common::Point p) const;
|
||||
|
||||
Point operator*(common::Point p) const;
|
||||
|
||||
Point operator/(common::Point p) const;
|
||||
|
||||
|
||||
Point operator+=(common::Point p);
|
||||
|
||||
Point operator-=(common::Point p);
|
||||
|
||||
Point operator*=(common::Point p);
|
||||
|
||||
Point operator/=(common::Point p);
|
||||
|
||||
|
||||
Point operator+(int i) const;
|
||||
|
||||
Point operator-(int i) const;
|
||||
|
||||
Point operator*(int i) const;
|
||||
|
||||
Point operator/(int i) const;
|
||||
|
||||
|
||||
Point operator+=(int i);
|
||||
|
||||
Point operator-=(int i);
|
||||
|
||||
Point operator*=(int i);
|
||||
|
||||
Point operator/=(int i);
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user