Line data Source code
1 : #include "core/state/State.hpp"
2 :
3 : #include "core/physics/Particles.hpp"
4 : #include "core/animations/AnimationState.hpp"
5 : #include "core/entities/WeaponParametersFactory.hpp"
6 :
7 : #include <memory>
8 : #include <utility>
9 :
10 : namespace Soldank
11 : {
12 0 : State::State(AnimationDataManager& animation_data_manager, std::shared_ptr<ParticleSystem> skeleton)
13 : {
14 0 : soldiers.fill(
15 : { 0,
16 : animation_data_manager,
17 0 : std::move(skeleton),
18 0 : std::vector<Weapon>{
19 0 : { WeaponParametersFactory::GetParameters(WeaponType::DesertEagles, false) },
20 0 : { WeaponParametersFactory::GetParameters(WeaponType::Knife, false) },
21 0 : { WeaponParametersFactory::GetParameters(WeaponType::FragGrenade, false) } } });
22 0 : }
23 : } // namespace Soldank
|