16 lines
254 B
C#
16 lines
254 B
C#
using Godot;
|
|
|
|
public partial class PlayerVisual : Node2D
|
|
{
|
|
[Export] public float Radius = 8f;
|
|
|
|
public override void _Draw()
|
|
{
|
|
DrawCircle(Vector2.Zero, Radius, new Color(0.2f, 0.8f, 1.0f));
|
|
}
|
|
|
|
public override void _Ready()
|
|
{
|
|
QueueRedraw();
|
|
}
|
|
}
|