Kraken screen shake!

This commit is contained in:
2015-10-23 15:05:43 +02:00
parent ce0b95cd47
commit 1270500a43
3 changed files with 25 additions and 3 deletions
+3 -3
View File
@@ -15,9 +15,9 @@ namespace Events
struct ScreenShake : Event
{
float Time;
int Intensity;
float TimeTakenToCoolDown;
float Time = 1.f;
float Intensity = 1.f;
float TimeTakenToCoolDown = 1.f;
};
}
+1
View File
@@ -33,6 +33,7 @@
#include "Game/CKraken.h"
#include "Game/CBall.h"
#include "Game/CProjectile.h"
#include "Game/EScreenShake.h"
#include "Sound/CCollisionSound.h"
#include "Rendering/CAnimation.h"
#include "Rendering/CSprite.h"