diff --git a/.gitignore b/.gitignore index beb473d..f023a9e 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,8 @@ # files if adding them here. !/Content/**/*.uasset !/Content/**/*.umap +/Content/__ExternalObjects__ +/Content/__ExternalActors__ # Allow any files from /RawContent dir. # Any file in /RawContent dir will be managed by git lfs. diff --git a/Content/Blueprints/Obstacles/BP_BarrierA.uasset b/Content/Blueprints/Obstacles/BP_BarrierA.uasset new file mode 100644 index 0000000..f14fc53 --- /dev/null +++ b/Content/Blueprints/Obstacles/BP_BarrierA.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d63d07eb7cbc3421c09180f90ffb586b7c76ecf9185899fef8da113b6ac6c968 +size 31063 diff --git a/Content/Blueprints/Obstacles/BP_BarrierB.uasset b/Content/Blueprints/Obstacles/BP_BarrierB.uasset new file mode 100644 index 0000000..bd25065 --- /dev/null +++ b/Content/Blueprints/Obstacles/BP_BarrierB.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f7d9a58b2bdc60851ffcb94fff19a93f9615b17744b789b925cb89c62a23bae +size 31564 diff --git a/Content/Blueprints/Obstacles/BP_BarrierStrongA.uasset b/Content/Blueprints/Obstacles/BP_BarrierStrongA.uasset new file mode 100644 index 0000000..4d4fbd9 --- /dev/null +++ b/Content/Blueprints/Obstacles/BP_BarrierStrongA.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28f1f010a5cef02d5a56076a200e986eb7a8175ebfc744275218b4c111020da5 +size 32160 diff --git a/Content/Blueprints/Obstacles/BP_BarrierStrongB.uasset b/Content/Blueprints/Obstacles/BP_BarrierStrongB.uasset new file mode 100644 index 0000000..620694f --- /dev/null +++ b/Content/Blueprints/Obstacles/BP_BarrierStrongB.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:380a90ce6c893ed44219b090b9f6f67f9a40c18bd0aa39d4d4e977319d713a93 +size 31093 diff --git a/Content/Blueprints/Obstacles/BP_BarrierStrongDamaged.uasset b/Content/Blueprints/Obstacles/BP_BarrierStrongDamaged.uasset new file mode 100644 index 0000000..48e805c --- /dev/null +++ b/Content/Blueprints/Obstacles/BP_BarrierStrongDamaged.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48db69693a6fa9f8bcda922563e04ad5ab0cdef8e9d7ad5d243e6e6550690f7a +size 31808 diff --git a/Content/__ExternalActors__/OLD/ThirdPerson/Maps/ThirdPersonMap/0/DF/J51WISS8DPDX4ECRRAIENQ.uasset b/Content/__ExternalActors__/OLD/ThirdPerson/Maps/ThirdPersonMap/0/DF/J51WISS8DPDX4ECRRAIENQ.uasset new file mode 100644 index 0000000..246022e --- /dev/null +++ b/Content/__ExternalActors__/OLD/ThirdPerson/Maps/ThirdPersonMap/0/DF/J51WISS8DPDX4ECRRAIENQ.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4d0bd6df71f21a6a1f660c31af266ecf24647f107056dbfad2de80afb79d374 +size 4104 diff --git a/Content/__ExternalActors__/OLD/ThirdPerson/Maps/ThirdPersonMap/9/L1/AFPNYCE0OGB1C0JDLGVWQ7.uasset b/Content/__ExternalActors__/OLD/ThirdPerson/Maps/ThirdPersonMap/9/L1/AFPNYCE0OGB1C0JDLGVWQ7.uasset new file mode 100644 index 0000000..bde2baa --- /dev/null +++ b/Content/__ExternalActors__/OLD/ThirdPerson/Maps/ThirdPersonMap/9/L1/AFPNYCE0OGB1C0JDLGVWQ7.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f1d70f462366c0086a7c503aaeb98ed3caeb23f09a1c00cfbd6c4ec636dd9fa +size 4104 diff --git a/Content/__ExternalActors__/OLD/ThirdPerson/Maps/ThirdPersonMap/C/LU/GHQRADEU5L90S5E59OP4N5.uasset b/Content/__ExternalActors__/OLD/ThirdPerson/Maps/ThirdPersonMap/C/LU/GHQRADEU5L90S5E59OP4N5.uasset new file mode 100644 index 0000000..19c67ad --- /dev/null +++ b/Content/__ExternalActors__/OLD/ThirdPerson/Maps/ThirdPersonMap/C/LU/GHQRADEU5L90S5E59OP4N5.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:408276ac8e12c6ab632d205ae3739fbc9033b446b0d9d350984aca662af648d1 +size 4142 diff --git a/Source/EndlessZombie/Obstacle.cpp b/Source/EndlessZombie/Obstacle.cpp new file mode 100644 index 0000000..635fef3 --- /dev/null +++ b/Source/EndlessZombie/Obstacle.cpp @@ -0,0 +1,27 @@ +// Copyright Jorge Kuijper. All Rights Reserved. + + +#include "Obstacle.h" + +// Sets default values +AObstacle::AObstacle() +{ + // Set this actor 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 AObstacle::BeginPlay() +{ + Super::BeginPlay(); + +} + +// Called every frame +void AObstacle::Tick(float DeltaTime) +{ + Super::Tick(DeltaTime); + +} + diff --git a/Source/EndlessZombie/Obstacle.h b/Source/EndlessZombie/Obstacle.h new file mode 100644 index 0000000..7b0343e --- /dev/null +++ b/Source/EndlessZombie/Obstacle.h @@ -0,0 +1,26 @@ +// Copyright Jorge Kuijper. All Rights Reserved. + +#pragma once + +#include "CoreMinimal.h" +#include "GameFramework/Actor.h" +#include "Obstacle.generated.h" + +UCLASS() +class ENDLESSZOMBIE_API AObstacle : public AActor +{ + GENERATED_BODY() + +public: + // Sets default values for this actor's properties + AObstacle(); + +protected: + // Called when the game starts or when spawned + virtual void BeginPlay() override; + +public: + // Called every frame + virtual void Tick(float DeltaTime) override; + +};