Continued Target -> Threat refactor

This commit is contained in:
Daniel Lovell
2024-09-24 19:38:17 -07:00
parent 17af733afb
commit bbb2dba1ed
11 changed files with 6 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DroneTarget : Threat {
// Start is called before the first frame update
protected override void Start() {
base.Start();
}
// Update is called once per frame
protected override void FixedUpdate() {
base.FixedUpdate();
}
protected override void UpdateReady(double deltaTime) {}
protected override void UpdateBoost(double deltaTime) {}
protected override void UpdateMidCourse(double deltaTime) {}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f532f6ee629e87643b7b75a50e83083f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,11 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MissileTarget : MonoBehaviour {
// Start is called before the first frame update
void Start() {}
// Update is called once per frame
void Update() {}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 16e40584b2154ef4a95c84e85a321999
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,17 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class Threat : Agent {
public override bool IsAssignable() {
return false;
}
protected override void Start() {
base.Start();
}
protected override void FixedUpdate() {
base.FixedUpdate();
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ad412917d9c68a144b3124e83ca083c1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: