Fix up debug info overlay
This commit is contained in:
@@ -233,9 +233,6 @@ public partial class Game : Node3D, IGame
|
||||
case EffectItem effectItem:
|
||||
EnactEffectItemEffects(effectItem);
|
||||
break;
|
||||
case Jewel jewel:
|
||||
EnactJewelItemEffects(jewel);
|
||||
break;
|
||||
}
|
||||
|
||||
await ToSignal(GetTree().CreateTimer(0.3f), "timeout");
|
||||
@@ -570,13 +567,6 @@ public partial class Game : Node3D, IGame
|
||||
}
|
||||
}
|
||||
|
||||
private void EnactJewelItemEffects(Jewel jewel)
|
||||
{
|
||||
switch (jewel.Stats.JewelTag)
|
||||
{
|
||||
//case JewelTags.AeolicElement
|
||||
}
|
||||
}
|
||||
private void RemoveItemOrSubtractFromItemCount(InventoryItem item)
|
||||
{
|
||||
if (item is IStackable stackableItem && stackableItem.Count.Value > 1)
|
||||
@@ -585,6 +575,8 @@ public partial class Game : Node3D, IGame
|
||||
_player.Inventory.Remove(item);
|
||||
}
|
||||
|
||||
public void ShowDebugInfo(bool show) => InGameUI.DebugInfo.Visible = show;
|
||||
|
||||
private void MovePlayer((Vector3 Rotation, Vector3 Position) spawnPoint) => _player.TeleportPlayer(spawnPoint);
|
||||
|
||||
private void OnNewGame()
|
||||
|
||||
Reference in New Issue
Block a user