Implement basic combat system
This commit is contained in:
@@ -17,13 +17,19 @@ public:
|
||||
|
||||
protected:
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Spawning")
|
||||
float EnemySpawnInterval = 3.0f;
|
||||
TSubclassOf<class AEnemySpaceship> EnemyClass;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Spawning")
|
||||
float SpawnRadius = 2000.0f;
|
||||
float EnemySpawnInterval = 2.0f;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Spawning")
|
||||
int32 MaxEnemies = 5;
|
||||
int32 MaxEnemies = 10;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Spawning")
|
||||
float MinSpawnRadius = 1000.0f;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Spawning")
|
||||
float MaxSpawnRadius = 2000.0f;
|
||||
|
||||
private:
|
||||
FTimerHandle EnemySpawnTimer;
|
||||
|
||||
Reference in New Issue
Block a user