mirror of
https://github.com/Ed94/Cog.git
synced 2026-07-26 09:23:47 +00:00
Cog Sample: Adding more gameplay
Cog Sample: Make Area a component instead of an actor Cog Sample: Add Basic actor for Projectiles, Areas, etc... Cog Sample: Start to add Projectile Cog Sample: Start to add SpawnPrediction
This commit is contained in:
@@ -6,8 +6,9 @@
|
||||
#include "GameFramework/PlayerController.h"
|
||||
#include "CogSamplePlayerController.generated.h"
|
||||
|
||||
class UCogSampleTargetAcquisition;
|
||||
class ACogSampleCharacter;
|
||||
class UCogSampleSpawnPredictionComponent;
|
||||
class UCogSampleTargetAcquisition;
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------------------
|
||||
DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FCogSampleTargetChangedEventDelegate, ACogSamplePlayerController*, Controller, AActor*, NewTarget, AActor*, OldTarget);
|
||||
@@ -53,10 +54,15 @@ public:
|
||||
|
||||
AActor* GetTarget() const { return Target.Get(); }
|
||||
|
||||
|
||||
UPROPERTY(BlueprintAssignable)
|
||||
FCogSampleTargetChangedEventDelegate OnTargetChanged;
|
||||
|
||||
//----------------------------------------------------------------------------------------------------------------------
|
||||
// Spawn Predictions
|
||||
//----------------------------------------------------------------------------------------------------------------------
|
||||
UPROPERTY()
|
||||
TArray<UCogSampleSpawnPredictionComponent*> SpawnPredictions;
|
||||
|
||||
private:
|
||||
|
||||
//----------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user