Bomberman
Public Member Functions | Public Attributes | List of all members
BBM::MapInfo Class Reference

#include <MapInfo.hpp>

Collaboration diagram for BBM::MapInfo:

Public Member Functions

 MapInfo (Vector3f pos, MapGenerator::BlockType type)
 Constructor. More...
 
 ~MapInfo ()=default
 Default destructor. More...
 
 MapInfo (const MapInfo &)
 Default copy constructor. More...
 
MapInfooperator= (MapInfo &)
 Assignment operator. More...
 

Public Attributes

float x
 Position on the x axis. More...
 
float y
 Position on the y axis. More...
 
float z
 Position on the z axis. More...
 
int type
 Type of the block. More...
 

Constructor & Destructor Documentation

◆ MapInfo() [1/2]

BBM::MapInfo::MapInfo ( Vector3f  pos,
MapGenerator::BlockType  type 
)

Constructor.

◆ ~MapInfo()

BBM::MapInfo::~MapInfo ( )
default

Default destructor.

◆ MapInfo() [2/2]

BBM::MapInfo::MapInfo ( const MapInfo other)

Default copy constructor.

Member Function Documentation

◆ operator=()

MapInfo & BBM::MapInfo::operator= ( MapInfo other)

Assignment operator.

Member Data Documentation

◆ type

int BBM::MapInfo::type

Type of the block.

◆ x

float BBM::MapInfo::x

Position on the x axis.

◆ y

float BBM::MapInfo::y

Position on the y axis.

◆ z

float BBM::MapInfo::z

Position on the z axis.


The documentation for this class was generated from the following files: