17 lines
917 B
C++
17 lines
917 B
C++
#include "DataLibrary.hpp"
|
|
|
|
CreatureLib::Library::DataLibrary::DataLibrary(LibrarySettings* settings, CreatureLib::Library::SpeciesLibrary* species,
|
|
CreatureLib::Library::AttackLibrary* attacks,
|
|
CreatureLib::Library::ItemLibrary* items,
|
|
CreatureLib::Library::GrowthRateLibrary* growthRates,
|
|
TypeLibrary* typeLibrary, TalentLibrary* talentLibrary)
|
|
: _settings(settings), _species(species), _attacks(attacks), _items(items), _growthRates(growthRates),
|
|
_typeLibrary(typeLibrary), _talentLibrary(talentLibrary) {
|
|
EnsureNotNull(_settings)
|
|
EnsureNotNull(_species)
|
|
EnsureNotNull(_attacks)
|
|
EnsureNotNull(_items)
|
|
EnsureNotNull(_growthRates)
|
|
EnsureNotNull(_typeLibrary)
|
|
EnsureNotNull(_talentLibrary)
|
|
} |