Create DemolitionCharacter class
This commit is contained in:
parent
09e4cd0f41
commit
11c88c6dd9
|
@ -0,0 +1,9 @@
|
||||||
|
// Fill out your copyright notice in the Description page of Project Settings.
|
||||||
|
|
||||||
|
|
||||||
|
#include "DemolitionCharacter.h"
|
||||||
|
|
||||||
|
void ADemolitionCharacter::Explode()
|
||||||
|
{
|
||||||
|
UE_LOG(LogTemp, Warning, TEXT("BANG!"));
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
// Fill out your copyright notice in the Description page of Project Settings.
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "CoreMinimal.h"
|
||||||
|
#include "EnemyCharacter.h"
|
||||||
|
#include "DemolitionCharacter.generated.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
UCLASS()
|
||||||
|
class NAKATOMI_API ADemolitionCharacter : public AEnemyCharacter
|
||||||
|
{
|
||||||
|
GENERATED_BODY()
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
UFUNCTION()
|
||||||
|
void Explode();
|
||||||
|
|
||||||
|
};
|
Loading…
Reference in New Issue