Skip to content

Commit

Permalink
MapMagic: Mark fields as private
Browse files Browse the repository at this point in the history
  • Loading branch information
LegoFigure11 committed May 28, 2024
1 parent 991f5b0 commit 0264978
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions RaidCrawler.Core/Structures/MapMagic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ namespace RaidCrawler.Core.Structures
{
public class MapMagic
{
public double ScaleX { get; init; }
public double ScaleZ { get; init; }
public double OffsetZ { get; init; }
private double ScaleX { get; init; }
private double ScaleZ { get; init; }
private double OffsetZ { get; init; }
public double ConvertWidth(double s) => (512 / ScaleX) * s;
public double ConvertHeight(double s) => (512 / ScaleZ) * s;
public double ConvertX(double x) => (512 / ScaleX) * x;
Expand Down

0 comments on commit 0264978

Please sign in to comment.