13 lines
255 B
C#
13 lines
255 B
C#
using Godot;
|
|
|
|
public partial class CreatureVisual : Node2D
|
|
{
|
|
[Export] public float Radius = 8f;
|
|
|
|
public override void _Draw()
|
|
{
|
|
DrawCircle(Vector2.Zero, Radius, new Color(1f, 0.8f, 0.2f, 0.9f));
|
|
}
|
|
|
|
public override void _Ready() => QueueRedraw();
|
|
}
|