PawnBase.h 918 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "GameFramework/Pawn.h"
#include "PawnBase.generated.h"

class APlot3D;

UCLASS()
class IMMERSIVEANALYTICS_API APawnBase : public APawn
{
	GENERATED_BODY()

public:
	// Sets default values for this pawn's properties
	APawnBase();

	UPROPERTY(EditAnywhere, BlueprintReadOnly)
	APlot3D* Plot3D;

Jan Kremer's avatar
Jan Kremer committed
23 24 25
	UPROPERTY(EditAnywhere, BlueprintReadOnly)
	TArray<class APlot2D*> Plots2D;

26 27 28
	UPROPERTY(Category = DataComponent, VisibleAnywhere, BlueprintReadOnly)
	class UDataComponent* Data;

29 30 31 32 33 34 35 36 37 38 39 40
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;

};