oldie/scenes/gear/Gear.cs
2022-11-10 00:06:08 -03:00

11 lines
175 B
C#

using Godot;
public class Gear : Area2D
{
public override void _Process(float delta)
{
Sprite sprite = GetNode<Sprite>("Sprite");
sprite.Rotate(Mathf.Deg2Rad(2));
}
}