Animations in the game

This commit is contained in:
viktorljung
2015-10-23 14:35:11 +02:00
parent 67ef462a53
commit 6206859568
7 changed files with 105 additions and 61 deletions
+1
View File
@@ -43,6 +43,7 @@ void dd::Systems::AnimationSystem::Update(double dt)
Events::AnimationComplete e;
e.Entity = ent;
e.Animation = animationComponent->Name;
EventBroker->Publish(e);
}
}
animationComponent->Time = nextTime;