+22
src/Debug/NotificationScene.cs
+22
src/Debug/NotificationScene.cs
···
1
+
using Fjord.Scenes;
2
+
3
+
class NotificationScene : Scene
4
+
{
5
+
private class Notification
6
+
{
7
+
public float Life = 0;
8
+
public string Message = "";
9
+
}
10
+
11
+
public List<Notification> Notifications = new();
12
+
13
+
public NotificationScene(int width, int height, string id) : base(width, height, id)
14
+
{
15
+
}
16
+
17
+
public override void Awake()
18
+
{
19
+
SetCaptureMouse(false);
20
+
SetClearColor(0, 0, 0, 255);
21
+
}
22
+
}