Added offsets and remade modifiers system

This commit is contained in:
Marco 2025-05-09 11:46:58 +02:00
commit aab69fb609
16 changed files with 474 additions and 426 deletions

View file

@ -1,4 +1,5 @@
using Godot;
using Cirno.Scripts.Components;
using Godot;
namespace Cirno.Scripts.Resources;
@ -6,5 +7,6 @@ namespace Cirno.Scripts.Resources;
[Tool]
public abstract partial class BulletCreationModifier : Resource, IBulletModifier
{
public abstract float ModifySpeed(float baseSpeed, int bulletIndex, int totalBullets);
public abstract BulletInfo ModifyBullet(BulletInfo bullet, int bulletIndex, int totalBullets);
//public abstract float ModifySpeed(float baseSpeed, int bulletIndex, int totalBullets);
}