mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-04 18:46:22 +00:00
using luabridge, binding MapInfo type and calling update
This commit is contained in:
@@ -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 &);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user