mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-08 11:35:53 +00:00
Made bullet creation modifier generics
This commit is contained in:
parent
9ae07e5b38
commit
797e24d766
7 changed files with 46 additions and 10 deletions
9
Scripts/Resources/BulletCreationModifier.cs
Normal file
9
Scripts/Resources/BulletCreationModifier.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
using Godot;
|
||||
|
||||
namespace Cirno.Scripts.Resources;
|
||||
|
||||
[GlobalClass]
|
||||
public abstract partial class BulletCreationModifier : Resource, IBulletModifier
|
||||
{
|
||||
public abstract float ModifySpeed(float baseSpeed, int bulletIndex, int totalBullets);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue