Make threading and networking optional
This commit is contained in:
23
include/TessesFramework/Graphics/Point.hpp
Normal file
23
include/TessesFramework/Graphics/Point.hpp
Normal file
@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
namespace Tesses::Framework::Graphics {
|
||||
class Point {
|
||||
public:
|
||||
Point()
|
||||
{
|
||||
|
||||
}
|
||||
Point(int32_t x, int32_t y)
|
||||
{
|
||||
this->X = x;
|
||||
this->Y = y;
|
||||
}
|
||||
int32_t X=0;
|
||||
int32_t Y=0;
|
||||
std::string ToString()
|
||||
{
|
||||
return std::to_string(X) + ", " + std::to_string(Y);
|
||||
}
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user