using luabridge, binding MapInfo type and calling update

This commit is contained in:
Bluub
2021-06-09 12:08:40 +02:00
parent 92a4862041
commit 41ff375d6a
9 changed files with 7897 additions and 37 deletions
+37
View File
@@ -0,0 +1,37 @@
//
// Created by Louis Auzuret on 09/06/21
//
#include "Map.hpp"
namespace BBM
{
class MapInfo
{
private:
public:
//! @brief Position on the x axis
float x;
//! @brief Position on the y axis
float y;
//! @brief Position on the z axis
float z;
//! @brief Type of the block
MapGenerator::BlockType type;
//! @brief Constructor
MapInfo(Vector3f pos, MapGenerator::BlockType type);
//! @brief Default destructor
~MapInfo() = default;
//! @brief Default copy constructor
MapInfo(MapInfo &) = default;
//! @brief Assignment operator
MapInfo &operator=(MapInfo &);
};
}