mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 13:37:22 +00:00
080a833144
* Convert BrickDatabase to namespace This did not need to be a class. * Fix linker errors * convert to anonymous namespace so the cache is unmodifiable outside the brickcache * Move to lower scope level and remove log
17 lines
296 B
C++
17 lines
296 B
C++
#ifndef __BRICKDATABASE__H__
|
|
#define __BRICKDATABASE__H__
|
|
|
|
#pragma once
|
|
|
|
#include "Entity.h"
|
|
|
|
class Brick;
|
|
using BrickList = std::vector<Brick>;
|
|
using LxfmlPath = std::string;
|
|
|
|
namespace BrickDatabase {
|
|
const BrickList& GetBricks(const LxfmlPath& lxfmlPath);
|
|
};
|
|
|
|
#endif //!__BRICKDATABASE__H__
|