add more meetings
This commit is contained in:
11
TimeSlot.cs
11
TimeSlot.cs
@@ -37,10 +37,19 @@ public partial class TimeSlot : PanelContainer
|
||||
public void StartMeeting()
|
||||
{
|
||||
GD.Print("New Meeting starts!");
|
||||
var gameState = NodeExtensions.GetMain(this).GameState;
|
||||
var gameState = this.GetMain().GameState;
|
||||
|
||||
// TODO: TimeSlot hat bekommt die MeetingResource on Drop?? oder zumindest nicht über Gfx gehen
|
||||
MeetingControl?.MeetingControlGfx.MeetingResource.StartMeeting(gameState);
|
||||
MeetingControl?.Animate();
|
||||
}
|
||||
|
||||
public void EndMeeting()
|
||||
{
|
||||
GD.Print("Meeting Ends!");
|
||||
var gameState = this.GetMain().GameState;
|
||||
|
||||
// TODO: TimeSlot hat bekommt die MeetingResource on Drop?? oder zumindest nicht über Gfx gehen
|
||||
MeetingControl?.MeetingControlGfx.MeetingResource.EndMeeting(gameState);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user