#include "HangingFireCracker.h" #include "Components/SkeletalMeshComponent.h" #include "NiagaraComponent.h" #include "FSDAudioComponent.h" #include "InstantUsable.h" void AHangingFireCracker::StartFire() { } AHangingFireCracker::AHangingFireCracker() { this->Usable = CreateDefaultSubobject(TEXT("Usable")); this->SKMesh = CreateDefaultSubobject(TEXT("Root")); this->MovingSparks = CreateDefaultSubobject(TEXT("MovingSparks")); this->FuseSound = CreateDefaultSubobject(TEXT("FuseSound")); this->CrackerExplosion = NULL; this->CrackerExplosionCue = NULL; this->SparkSpeed = 20.00f; this->ExplodeRange = 40.00f; this->ExplodeImpulse = 100.00f; }