SupaLidlGame/Entities/ShungiteSpike.cs

14 lines
311 B
C#

using Godot;
namespace SupaLidlGame.Entities;
public partial class ShungiteSpike : Projectile
{
public override void _Ready()
{
var player = GetNode<AnimationPlayer>("AnimationPlayer");
player.Play("spin");
player.SpeedScale = (float)(1 / Delay);
base._Ready();
}
}