Refactor pause handling; implement GameBus for pause state management and update event popup behavior
This commit is contained in:
@@ -16,7 +16,12 @@ public partial class EventPopup : PanelContainer
|
||||
private EventDefinition _eventDef;
|
||||
private Timer _timeoutTimer;
|
||||
private readonly RandomNumberGenerator _rng = new();
|
||||
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
ProcessMode = ProcessModeEnum.Always;
|
||||
}
|
||||
|
||||
public void DisplayEvent(EventDefinition eventDef)
|
||||
{
|
||||
_eventDef = eventDef;
|
||||
|
Reference in New Issue
Block a user