Initial commit
This commit is contained in:
13
scripts/Interfaces/IStat.cs
Normal file
13
scripts/Interfaces/IStat.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using Godot;
|
||||
|
||||
public delegate void StatUpdatedHandler(int newValue);
|
||||
|
||||
interface IStat
|
||||
{
|
||||
int value {get;}
|
||||
int max {get;}
|
||||
int min {get;}
|
||||
|
||||
event StatUpdatedHandler statUpdated;
|
||||
}
|
Reference in New Issue
Block a user