Create DemolitionCharacter class

This commit is contained in:
Louis Hobbs 2023-06-12 22:10:32 +01:00
parent 09e4cd0f41
commit 11c88c6dd9
2 changed files with 31 additions and 0 deletions

View File

@ -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!"));
}

View File

@ -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();
};