type check

This commit is contained in:
Bluub
2021-06-09 14:53:41 +02:00
parent 41ff375d6a
commit 5f7bcf2a8f
4 changed files with 26 additions and 10 deletions
+4
View File
@@ -10,6 +10,10 @@ namespace BBM
: x(pos.x), y(pos.y), z(pos.z), type(type)
{ }
MapInfo::MapInfo(const MapInfo &other)
: x(other.x), y(other.y), z(other.z), type(other.type)
{ }
MapInfo &MapInfo::operator=(MapInfo &other)
{
this->x = other.x;