1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 15:40:29 +01:00

Moved State enum to Settings class. Added checks for blip opacity based on whether map blips are enabled in settings

This commit is contained in:
Rich Dunne 2020-09-06 14:26:42 -06:00
parent 1bb4f2d750
commit beddfe4223

View file

@ -3,12 +3,7 @@ using System.Collections.Generic;
namespace SceneManager
{
public enum State
{
Uninitialized,
Creating,
Finished
}
public class Path
{
@ -66,8 +61,11 @@ namespace SceneManager
{
wp.RemoveSpeedZone();
}
if (SettingsMenu.mapBlips.Checked)
{
LowerWaypointBlipsOpacity();
}
}
public void EnablePath()
{
@ -79,8 +77,11 @@ namespace SceneManager
wp.AddSpeedZone();
}
}
if (SettingsMenu.mapBlips.Checked)
{
RestoreWaypointBlipsOpacity();
}
}