Files
Bomberman/sources/Map/MapInfo.cpp
2021-06-17 20:50:43 +02:00

25 lines
467 B
C++

//
// Created by Louis Auzuret 09/06/21
//
#include "MapInfo.hpp"
namespace BBM
{
MapInfo::MapInfo(Vector3f pos, MapGenerator::BlockType blockType)
: x(pos.x), y(pos.y), z(pos.z), type(blockType)
{ }
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;
this->y = other.y;
this->z = other.z;
this->type = other.type;
return *this;
}
}