Used ClangFormat style guide I'm happy with.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
#ifndef CREATURELIB_DATALIBRARY_HPP
|
||||
#define CREATURELIB_DATALIBRARY_HPP
|
||||
|
||||
#include "SpeciesLibrary.hpp"
|
||||
#include "AttackLibrary.hpp"
|
||||
#include "ItemLibrary.hpp"
|
||||
#include "GrowthRates/GrowthRateLibrary.hpp"
|
||||
#include "ItemLibrary.hpp"
|
||||
#include "LibrarySettings.hpp"
|
||||
#include "SpeciesLibrary.hpp"
|
||||
#include "TypeLibrary.hpp"
|
||||
|
||||
namespace CreatureLib::Library {
|
||||
/*!
|
||||
/*!
|
||||
\brief The core library. This library holds all static data for a creature set.
|
||||
*/
|
||||
class DataLibrary {
|
||||
@@ -20,16 +20,13 @@ namespace CreatureLib::Library {
|
||||
const ItemLibrary* _items;
|
||||
const GrowthRateLibrary* _growthRates;
|
||||
const TypeLibrary* _typeLibrary;
|
||||
public:
|
||||
DataLibrary(LibrarySettings settings,
|
||||
CreatureLib::Library::SpeciesLibrary *species,
|
||||
CreatureLib::Library::AttackLibrary *attacks,
|
||||
CreatureLib::Library::ItemLibrary *items,
|
||||
CreatureLib::Library::GrowthRateLibrary *growthRates,
|
||||
TypeLibrary* typeLibrary
|
||||
);
|
||||
|
||||
~DataLibrary(){
|
||||
public:
|
||||
DataLibrary(LibrarySettings settings, CreatureLib::Library::SpeciesLibrary* species,
|
||||
CreatureLib::Library::AttackLibrary* attacks, CreatureLib::Library::ItemLibrary* items,
|
||||
CreatureLib::Library::GrowthRateLibrary* growthRates, TypeLibrary* typeLibrary);
|
||||
|
||||
~DataLibrary() {
|
||||
delete _species;
|
||||
delete _attacks;
|
||||
delete _items;
|
||||
@@ -46,5 +43,4 @@ namespace CreatureLib::Library {
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
#endif //CREATURELIB_DATALIBRARY_HPP
|
||||
#endif // CREATURELIB_DATALIBRARY_HPP
|
||||
|
||||
Reference in New Issue
Block a user