Added : Enemies files

This commit is contained in:
Emilie Schott 2025-01-22 13:08:06 +01:00
parent e96407b2e7
commit 2d6ce3e52b
10 changed files with 151 additions and 0 deletions

BIN
Content/Legumix/Ennemy/DistantEnemy/BP_DistantEnemy.uasset (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

BIN
Content/Legumix/Ennemy/MeleeEnemy/BP_MeleeEnemy.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Legumix/Ennemy/MeleeEnemy/M_MeleeEnemyTemp.uasset (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,25 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "Enemy/DistantEnemy/LMDistantEnemy.h"
ALMDistantEnemy::ALMDistantEnemy()
{
PrimaryActorTick.bCanEverTick = true;
}
void ALMDistantEnemy::BeginPlay()
{
Super::BeginPlay();
}
void ALMDistantEnemy::Tick(float DeltaTime)
{
Super::Tick(DeltaTime);
}
void ALMDistantEnemy::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)
{
Super::SetupPlayerInputComponent(PlayerInputComponent);
}

View File

@ -0,0 +1,24 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "Enemy/LMEnemy.h"
ALMEnemy::ALMEnemy()
{
PrimaryActorTick.bCanEverTick = true;
}
void ALMEnemy::BeginPlay()
{
Super::BeginPlay();
}
void ALMEnemy::Tick(float DeltaTime)
{
Super::Tick(DeltaTime);
}
void ALMEnemy::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)
{
Super::SetupPlayerInputComponent(PlayerInputComponent);
}

View File

@ -0,0 +1,25 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "Enemy/MeleeEnemy/LMMeleeEnemy.h"
ALMMeleeEnemy::ALMMeleeEnemy()
{
PrimaryActorTick.bCanEverTick = true;
}
void ALMMeleeEnemy::BeginPlay()
{
Super::BeginPlay();
}
void ALMMeleeEnemy::Tick(float DeltaTime)
{
Super::Tick(DeltaTime);
}
void ALMMeleeEnemy::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)
{
Super::SetupPlayerInputComponent(PlayerInputComponent);
}

View File

@ -0,0 +1,22 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Enemy/LMEnemy.h"
#include "LMDistantEnemy.generated.h"
UCLASS()
class LEGUMEMIX_API ALMDistantEnemy : public ALMEnemy
{
GENERATED_BODY()
public:
ALMDistantEnemy();
virtual void Tick(float DeltaTime) override;
virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;
protected:
virtual void BeginPlay() override;
};

View File

@ -0,0 +1,21 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "LMEnemy.generated.h"
UCLASS()
class LEGUMEMIX_API ALMEnemy : public ACharacter
{
GENERATED_BODY()
public:
ALMEnemy();
virtual void Tick(float DeltaTime) override;
virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;
protected:
virtual void BeginPlay() override;
};

View File

@ -0,0 +1,22 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Enemy/LMEnemy.h"
#include "LMMeleeEnemy.generated.h"
UCLASS()
class LEGUMEMIX_API ALMMeleeEnemy : public ALMEnemy
{
GENERATED_BODY()
public:
ALMMeleeEnemy();
virtual void Tick(float DeltaTime) override;
virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;
protected:
virtual void BeginPlay() override;
};