2017-09-19 14:02:44 -04:00

38 lines
761 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Pawn.h"
#include "Soul.generated.h"
UCLASS()
class FENCING_V2_API ASoul : public APawn
{
GENERATED_BODY()
private:
TSubclassOf<class APawn> VrPawnClass;
TSubclassOf<class APawn> MannequinPawnClass;
APawn* PossessedPawn;
public:
// Sets default values for this pawn's properties
ASoul();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
// Called to bind functionality to input
virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;
};