Skip to content

Commit 5bd3a9a

Browse files
committed
added brightness filters, made prefs savable
1 parent 9288995 commit 5bd3a9a

File tree

9 files changed

+438
-246
lines changed

9 files changed

+438
-246
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
namespace MapResourceOverlay
2+
{
3+
public class Coordinates
4+
{
5+
private readonly double _latitude;
6+
private readonly double _longitude;
7+
8+
public Coordinates(double latitude, double longitude)
9+
{
10+
_latitude = latitude;
11+
_longitude = longitude;
12+
}
13+
14+
public double Latitude
15+
{
16+
get { return _latitude; }
17+
}
18+
19+
public double Longitude
20+
{
21+
get { return _longitude; }
22+
}
23+
}
24+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
using System.Collections.Generic;
2+
using System.Diagnostics;
3+
using System.Linq;
4+
using System.Text;
5+
using Debug = UnityEngine.Debug;
6+
using Object = System.Object;
7+
8+
namespace MapResourceOverlay
9+
{
10+
public static class Extensions
11+
{
12+
public static void Log(this Object obj, string msg)
13+
{
14+
Debug.Log("[MRO][" + (new StackTrace()).GetFrame(1).GetMethod().Name + "] " + msg);
15+
}
16+
17+
}
18+
}

0 commit comments

Comments
 (0)