39 lines
708 B
C++
39 lines
708 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "FunnyPrinceCharacter.h"
|
|
#include "Logging/LogMacros.h"
|
|
|
|
#include "EnemyCharacter.generated.h"
|
|
|
|
DECLARE_LOG_CATEGORY_EXTERN(LogTemplateEnemyCharacter, Log, All);
|
|
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS()
|
|
class FUNNYPRINCE_API AEnemyCharacter : public AFunnyPrinceCharacter
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
AEnemyCharacter(const FObjectInitializer& ObjectInitializer);
|
|
|
|
protected:
|
|
// To add mapping context
|
|
virtual void BeginPlay() override;
|
|
|
|
// To add mapping context
|
|
virtual void Tick(float DeltaTime) override;
|
|
|
|
virtual void StartPunch() override;
|
|
|
|
private:
|
|
|
|
FTimerHandle AutoPunch;
|
|
|
|
public:
|
|
};
|