ujiuiui
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using Godot;
|
||||
using Slimepire.Gameplay.Nodules;
|
||||
using Slimepire.Gameplay.Nodules.Components;
|
||||
using Slimepire.Gameplay.Components;
|
||||
using Nodule = Slimepire.Gameplay.Nodules.BasicNodule.Nodule;
|
||||
|
||||
namespace Slimepire.Gameplay;
|
||||
|
||||
@@ -15,8 +15,9 @@ public partial class BuildGhost : Node2D
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
_tubeConnectionArea.ConnectionAdded += ConnectionAdded;
|
||||
_tubeConnectionArea.ConnectionRemoved += ConnectionRemoved;
|
||||
// fix: after refactor
|
||||
// _tubeConnectionArea.ConnectionAdded += ConnectionAdded;
|
||||
// _tubeConnectionArea.ConnectionRemoved += ConnectionRemoved;
|
||||
}
|
||||
|
||||
private void ConnectionAdded(Nodule nodule)
|
||||
@@ -79,9 +80,6 @@ public partial class BuildGhost : Node2D
|
||||
var nodule = Instantiator.Instantiate<Nodule>();
|
||||
|
||||
nodule.Position = Position;
|
||||
// nodule.NoduleResource = GD.Load<NoduleResource>(
|
||||
// GameResources.SimpleNoduleTres.ResourcePath
|
||||
// );
|
||||
|
||||
GetParent()?.AddChild(nodule);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user