base structure
This commit is contained in:
+3
-1
@@ -6,7 +6,7 @@ using GodotHostTest.Interfaces;
|
||||
|
||||
namespace GodotHostTest.Game;
|
||||
|
||||
public partial class Score : Control
|
||||
public partial class Score : Control, IScore
|
||||
{
|
||||
[Export] private AnimationPlayer _animationPlayer = null!;
|
||||
[Export] private Label _label = null!;
|
||||
@@ -34,4 +34,6 @@ public partial class Score : Control
|
||||
{
|
||||
_label.Text = $"Score: {_score}";
|
||||
}
|
||||
|
||||
int IScore.Score => _score;
|
||||
}
|
||||
Reference in New Issue
Block a user