✨ Turret tile basis
This commit is contained in:
@@ -28,7 +28,7 @@ public partial class BaseTile : Node2D
|
||||
_progressOverlay.Visible = false;
|
||||
}
|
||||
|
||||
public void SetGhostMode(bool canPlace)
|
||||
public virtual void SetGhostMode(bool canPlace)
|
||||
{
|
||||
// Don't modify collision for constructing buildings
|
||||
if (IsConstructing) return;
|
||||
@@ -42,7 +42,7 @@ public partial class BaseTile : Node2D
|
||||
: new Color(1, 0, 0, 0.5f);
|
||||
}
|
||||
|
||||
public void FinalizePlacement()
|
||||
public virtual void FinalizePlacement()
|
||||
{
|
||||
if (_collisionShape != null)
|
||||
_collisionShape.Disabled = false;
|
||||
|
Reference in New Issue
Block a user