removed unused functions

godot-4.2
John Montagu, the 4th Earl of Sandvich 2023-09-15 22:15:27 -07:00
parent 63d41323d1
commit 42da94cd63
Signed by: sandvich
GPG Key ID: 9A39BE37E602B22D
1 changed files with 0 additions and 14 deletions

View File

@ -148,7 +148,6 @@ public partial class World : Node
} }
root.AddChild(map); root.AddChild(map);
InitTilemap(map);
CurrentMap = map; CurrentMap = map;
CurrentMap.Active = true; CurrentMap.Active = true;
@ -235,11 +234,6 @@ public partial class World : Node
return CurrentPlayer; return CurrentPlayer;
} }
private void InitTilemap(Map map)
{
// this is being replaced with interaction triggers
}
private void MovePlayerToConnector(string name) private void MovePlayerToConnector(string name)
{ {
var marker = CurrentMap.Markers.GetNode<Marker2D>(name); var marker = CurrentMap.Markers.GetNode<Marker2D>(name);
@ -267,14 +261,6 @@ public partial class World : Node
MovePlayerToConnector(connector); MovePlayerToConnector(connector);
} }
public void _on_area_2d_requested_enter(
BoundingBoxes.ConnectorBox box,
Player player)
{
GD.Print("Requesting to enter " + box.ToConnector);
MoveToArea(box.ToArea, box.ToConnector);
}
public void SaveGame() public void SaveGame()
{ {
SetSpawn(CurrentPlayer.GlobalPosition); SetSpawn(CurrentPlayer.GlobalPosition);