LEAP Documentation
40220
Documentation for the LEAP project
ProjectXTutorialTarget.h
Go to the documentation of this file.
1
// Copyright Blue Isle Studios Inc 2018. All Rights Reserved.
2
3
#pragma once
4
5
#include "CoreMinimal.h"
6
#include "
HealthInterface.h
"
7
#include "
ProjectXDamageType.h
"
8
#include "
TeamInterface.h
"
9
10
#include "GameFramework/Actor.h"
11
12
#include "ProjectXTutorialTarget.generated.h"
13
14
UCLASS()
15
class
AProjectXTutorialTarget
: public AActor, public
IHealthInterface
, public
ITeamInterface
16
{
17
GENERATED_BODY()
18
19
public
:
20
AProjectXTutorialTarget
();
21
22
void
BeginPlay()
override
;
23
void
EndPlay(
const
EEndPlayReason::Type EndplayReason)
override
;
24
25
UFUNCTION(BlueprintCallable, Category =
"DeathEvent"
)
26
void
TargetDeath(AActor* Victim,
const
float
Damage
,
struct
FDamageEvent
const
& DamageEvent,
const
class
AController* EventInstigator,
const
class
AActor* DamageCauser,
const
class
APlayerState* InstigatorPlayerState);
27
};
HealthInterface.h
EStimulusType::Damage
@ Damage
ProjectXDamageType.h
TeamInterface.h
AProjectXTutorialTarget
Definition:
ProjectXTutorialTarget.h:16
IHealthInterface
Definition:
HealthInterface.h:28
ITeamInterface
Definition:
TeamInterface.h:26
E:
ProjectY
Source
ProjectX
Public
GameModes
Tutorial
ProjectXTutorialTarget.h
Generated by
1.9.4