Skip to content

Commit

Permalink
refactoring, rework extension logic
Browse files Browse the repository at this point in the history
  • Loading branch information
TalicZealot committed Jan 7, 2024
1 parent 5818dd5 commit 1711af6
Show file tree
Hide file tree
Showing 4 changed files with 135 additions and 103 deletions.
6 changes: 6 additions & 0 deletions SotnRandoTools/src/RandoTracker/Models/Location.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,24 @@ public Location()
{
Locks = new List<string[]>();
OutOfLogicLocks = new List<string[]>();
Rooms = new List<Room>();
WatchIndecies = new List<int>();
AvailabilityColor = MapColor.Unavailable;
SecondCastle = false;
ClassicExtension = false;
GuardedExtension = false;
EquipmentExtension = false;
SpreadExtension = false;
CustomExtension = false;
Visited = false;
}
public string Name { get; set; }
public bool SecondCastle { get; set; }
public bool ClassicExtension { get; set; }
public bool GuardedExtension { get; set; }
public bool EquipmentExtension { get; set; }
public bool SpreadExtension { get; set; }
public bool CustomExtension { get; set; }
public MapColor AvailabilityColor { get; set; }
public bool Visited { get; set; }
public int X { get; set; }
Expand Down
6 changes: 1 addition & 5 deletions SotnRandoTools/src/RandoTracker/Models/ReplayState.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
namespace SotnRandoTools.RandoTracker.Models
{
public class ReplayState
public struct ReplayState
{
public ReplayState()
{
Time = 0;
}
public byte X { get; set; }
public byte Y { get; set; }
public ushort Time { get; set; }
Expand Down

0 comments on commit 1711af6

Please sign in to comment.