blob: edeb09bde16f70587bb945b1824cc84af8f9b4c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
using Godot;
using System;
/// <summary>
/// Objeto global com sinais, fortes sinais.
/// </summary>
public partial class SignalBus : Node
{
/// <summary>
/// Pois é.
/// </summary>
public static SignalBus Instance { get; private set; }
public override void _Ready()
{
base._Ready();
Instance = this;
}
[Signal]
public delegate void InspectorMovedEventHandler(Vector2I pos);
[Signal]
public delegate void EnterInspectionModeEventHandler();
[Signal]
public delegate void ExitInspectionModeEventHandler();
}
|