You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
775 B
32 lines
775 B
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#include "ManageSquadTrooper.h"
|
|
|
|
AManageSquadTrooper::AManageSquadTrooper() {
|
|
GetMesh()->SetCollisionResponseToAllChannels(
|
|
ECollisionResponse::ECR_Overlap);
|
|
}
|
|
|
|
// Called when the game starts or when spawned
|
|
void AManageSquadTrooper::BeginPlay() {
|
|
Super::BeginPlay();
|
|
}
|
|
|
|
// Called every frame
|
|
void AManageSquadTrooper::Tick(float DeltaTime) {
|
|
Super::Tick(DeltaTime);
|
|
}
|
|
|
|
void AManageSquadTrooper::
|
|
ChangeSkeletalMesh(const AManageSquadTrooper *OtherTrooper) const {
|
|
GetMesh()->SetSkeletalMesh(OtherTrooper->GetMesh()->SkeletalMesh);
|
|
}
|
|
|
|
ETrooperType AManageSquadTrooper::GetType() const {
|
|
return Type;
|
|
}
|
|
|
|
int AManageSquadTrooper::GetIndex() const {
|
|
return Index;
|
|
}
|