Continued Target -> Threat refactor
This commit is contained in:
21
Assets/Scripts/Threats/DroneTarget.cs
Normal file
21
Assets/Scripts/Threats/DroneTarget.cs
Normal 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) {}
|
||||
}
|
||||
11
Assets/Scripts/Threats/DroneTarget.cs.meta
Normal file
11
Assets/Scripts/Threats/DroneTarget.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f532f6ee629e87643b7b75a50e83083f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
11
Assets/Scripts/Threats/MissileTarget.cs
Normal file
11
Assets/Scripts/Threats/MissileTarget.cs
Normal 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() {}
|
||||
}
|
||||
11
Assets/Scripts/Threats/MissileTarget.cs.meta
Normal file
11
Assets/Scripts/Threats/MissileTarget.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 16e40584b2154ef4a95c84e85a321999
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
17
Assets/Scripts/Threats/Threat.cs
Normal file
17
Assets/Scripts/Threats/Threat.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Threats/Threat.cs.meta
Normal file
11
Assets/Scripts/Threats/Threat.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ad412917d9c68a144b3124e83ca083c1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user