Re-scaled environment models imported and implemented.
This commit is contained in:
@@ -33,13 +33,13 @@ public partial class Altar : Node3D, IDungeonFloor
|
||||
Show();
|
||||
Exit.AreaEntered += Exit_AreaEntered;
|
||||
NoExitArea.AreaEntered += NoExitArea_AreaEntered;
|
||||
_player.PointUpFinished += _player_PointUpFinished;
|
||||
FloorIsLoaded = true;
|
||||
_player.PointUpFinished += _player_PointUpFinished;
|
||||
FloorIsLoaded = true;
|
||||
}
|
||||
|
||||
private void _player_PointUpFinished()
|
||||
{
|
||||
_player.Activate();
|
||||
_player.Activate();
|
||||
}
|
||||
|
||||
private void NoExitArea_AreaEntered(Area3D area)
|
||||
@@ -49,8 +49,8 @@ public partial class Altar : Node3D, IDungeonFloor
|
||||
|
||||
private void Exit_AreaEntered(Area3D area)
|
||||
{
|
||||
if (area.GetOwner() is IPlayer)
|
||||
ExitReached();
|
||||
if (area.GetOwner() is IPlayer)
|
||||
ExitReached();
|
||||
}
|
||||
|
||||
public void ExitReached() => Game.FloorExitReached();
|
||||
|
||||
Reference in New Issue
Block a user