#include "WormPod.h" #include "Components/SceneComponent.h" #include "Components/SkeletalMeshComponent.h" #include "Net/UnrealNetwork.h" #include "SimpleHealthComponent.h" void AWormPod::SpawnWorms() { } void AWormPod::OnRep_Grown() { } void AWormPod::OnParentDeath(UHealthComponentBase* ParentHealth) { } void AWormPod::OnDeath(UHealthComponentBase* aHealth) { } void AWormPod::OnAnimEnded(UAnimMontage* Montage, bool bInterrupted) { } void AWormPod::Kill() { } void AWormPod::All_ShowDeath_Implementation(bool success) { } void AWormPod::GetLifetimeReplicatedProps(TArray& OutLifetimeProps) const { Super::GetLifetimeReplicatedProps(OutLifetimeProps); DOREPLIFETIME(AWormPod, Grown); } AWormPod::AWormPod() { this->Root = CreateDefaultSubobject(TEXT("Root")); this->ScalePoint = CreateDefaultSubobject(TEXT("ScalePoint")); this->PodMesh = CreateDefaultSubobject(TEXT("PodMesh")); this->Health = CreateDefaultSubobject(TEXT("Health")); this->Grown = false; this->GrowthAnimation = NULL; this->PopAnimation = NULL; this->CarcasActor = NULL; this->WormDescriptor = NULL; this->PopParticles = NULL; this->deathParticles = NULL; this->PopSound = NULL; this->deathSound = NULL; this->ParentDeathDelay = 1.00f; this->DeathDelayVariance = 0.50f; this->WormCount = 1; }