nice nice nice

This commit is contained in:
2026-08-03 13:15:39 +02:00
parent 0bb8ce47c0
commit 737919f66f
25 changed files with 206 additions and 61 deletions

View File

@@ -4,9 +4,9 @@ using yourareanaiceo;
public partial class CurrentTimeLine : Panel
{
[Export]
private float _speed = 15f;
public float Speed = 15f;
public bool Running { get; set; }
public bool Running { get; private set; }
public override void _Process(double delta)
{
@@ -14,8 +14,13 @@ public partial class CurrentTimeLine : Panel
return;
var pos = OffsetTransformPosition;
pos.Y += _speed * delta.toFloat();
pos.Y += Speed * delta.toFloat();
OffsetTransformPosition = pos;
}
public void Start()
{
Running = true;
}
}