35 lines
683 B
C++
35 lines
683 B
C++
|
// Fill out your copyright notice in the Description page of Project Settings.
|
||
|
|
||
|
|
||
|
#include "HYEnemy.h"
|
||
|
|
||
|
// Sets default values
|
||
|
AHYEnemy::AHYEnemy()
|
||
|
{
|
||
|
// Set this pawn to call Tick() every frame. You can turn this off to improve performance if you don't need it.
|
||
|
PrimaryActorTick.bCanEverTick = true;
|
||
|
|
||
|
}
|
||
|
|
||
|
// Called when the game starts or when spawned
|
||
|
void AHYEnemy::BeginPlay()
|
||
|
{
|
||
|
Super::BeginPlay();
|
||
|
|
||
|
}
|
||
|
|
||
|
// Called every frame
|
||
|
void AHYEnemy::Tick(float DeltaTime)
|
||
|
{
|
||
|
Super::Tick(DeltaTime);
|
||
|
|
||
|
}
|
||
|
|
||
|
// Called to bind functionality to input
|
||
|
void AHYEnemy::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)
|
||
|
{
|
||
|
Super::SetupPlayerInputComponent(PlayerInputComponent);
|
||
|
|
||
|
}
|
||
|
|