7-15-25@3:04am7-15-25@3:04am7-15-25@3:04am7-15-25@3:04am7-15-25@3:04am7-15-25@3:04am7-15-25@3:04am7-15-25@3:04am7-15-25@3:04am7-15-25@3:04am7-15-25@3:04am7-15-25@3:04am7-15-25@3:04am7-15-25@3:04am7-15-25@3:04amMerge branch 'main' of https://git.cojoedmo.com/admin/hotdesking
This commit is contained in:
@@ -45,6 +45,7 @@ public partial class Actor : Node
|
||||
{
|
||||
if (_ballBag.Count > 0)
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
if (_heldBall == null)
|
||||
{
|
||||
_heldBall = _ballBag[0];
|
||||
@@ -78,6 +79,15 @@ public partial class Actor : Node
|
||||
{
|
||||
_heldBall = _ballBag[ballIndex - (ballIndex > _ballBag.Count ? 1 : 0)];
|
||||
}
|
||||
=======
|
||||
_activeCue.HideCue();
|
||||
Vector2 mousePosition = GetViewport().GetMousePosition();
|
||||
GetNode<Marker2D>("StartPosition").Position = mousePosition;
|
||||
if (Input.IsActionJustReleased("left_click"))
|
||||
{
|
||||
_activeBall.Place(GetNode<Marker2D>("StartPosition").Position);
|
||||
GD.Print(_activeBall.Position);
|
||||
>>>>>>> 920c5c27fb732c902987b01dcc093e55b1552a9f
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user