This commit is contained in:
viktorljung
2015-10-22 15:44:09 +02:00
parent c7bef473d9
commit d75e481e0f
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -24,6 +24,8 @@
#include "Game/EGameOver.h"
#include "Game/EKrakenAttackEnd.h"
#include "Rendering/CAnimation.h"
namespace dd
{
+2
View File
@@ -72,6 +72,8 @@ void dd::Systems::LifeSystem::CreateLife(int number)
auto model = m_World->AddComponent<Components::Model>(life);
model->ModelFile = "Models/Sid/Sid.dae";
auto anim = m_World->AddComponent<Components::Animation>(life);
anim->Speed = 0.f;
m_World->CommitEntity(life);
}