nice nice nice
This commit is contained in:
11
TimeSlot.cs
11
TimeSlot.cs
@@ -1,4 +1,5 @@
|
||||
using Godot;
|
||||
using yourareanaiceo;
|
||||
|
||||
[SceneTree]
|
||||
public partial class TimeSlot : PanelContainer
|
||||
@@ -30,4 +31,14 @@ public partial class TimeSlot : PanelContainer
|
||||
if (what == NotificationDragEnd)
|
||||
MouseFilter = MouseFilterEnum.Ignore;
|
||||
}
|
||||
|
||||
public void StartMeeting()
|
||||
{
|
||||
GD.Print("New Meeting starts!");
|
||||
var gameState = this.GetGame().GameState;
|
||||
|
||||
// TODO: TimeSlot hat bekommt die MeetingResource on Drop?? oder zumindest nicht über Gfx gehen
|
||||
MeetingControl?.MeetingControlGfx.MeetingResource.StartMeeting(gameState);
|
||||
MeetingControl?.Animate();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user