Delete runtime behavior config bridge

This commit is contained in:
Meta Vens 2026-06-15 20:12:34 +01:00
commit 18a4ead6f8
13 changed files with 243 additions and 705 deletions

View file

@ -1,59 +0,0 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
using Unity.Mathematics;
[Inspectable]
public class LauncherConfig : LockWeaponConfig
{
[InspectableAnimationCurve]
public float4[] GuidanceCurve;
[InspectableAnimationCurve]
public float4[] ThrustCurve;
[InspectableAnimationCurve]
public float4[] LiftCurve;
[Inspectable]
public PerformanceStat Thrust = new PerformanceStat();
[Inspectable]
public float DodgeFrequency;
[Inspectable]
public PerformanceStat MissileVelocity = new PerformanceStat();
public override Behavior CreateInstance(EquippedItem item)
{
return new LockWeapon(this, item);
}
}
[Inspectable]
public class GuidedWeaponConfig : InstantWeaponConfig
{
[InspectableAnimationCurve]
public float4[] GuidanceCurve;
[InspectableAnimationCurve]
public float4[] ThrustCurve;
[InspectableAnimationCurve]
public float4[] LiftCurve;
[Inspectable]
public PerformanceStat Thrust = new PerformanceStat();
[Inspectable]
public float DodgeFrequency;
[Inspectable]
public PerformanceStat MissileVelocity = new PerformanceStat();
public override Behavior CreateInstance(EquippedItem item)
{
return new InstantWeapon(this, item);
}
}