refactor party

This commit is contained in:
2026-08-12 13:31:11 +02:00
parent 81d7a213cd
commit 51da5c97eb
29 changed files with 274 additions and 67 deletions

View File

@@ -1,5 +1,7 @@
using Game.Extensions;
using Godot;
using yourareanaiceo;
namespace Game;
public partial class DropZone : Control
{
@@ -14,7 +16,7 @@ public partial class DropZone : Control
var meetingControl = ((MeetingControlDragData)data).MeetingControl;
var meetingPhysicsBox = meetingControl.MeetingPhysicsBox;
var game = this.GetGame();
var game = NodeExtensions.GetMain(this);
game.AddChild(meetingPhysicsBox);
meetingPhysicsBox.Position = GetGlobalMousePosition();
meetingControl.QueueFree();