Exemple #1
0
 /// <summary>
 /// Helper function that initializes this PlayableLocation Lat Lng instance with
 /// the provided LatLng structures from the Maps Gaming SDK.
 /// </summary>
 /// <param name="southwestlatLng"></param>
 /// <param name="northeastlatLng"></param>
 public void CopyFrom(LatLng southwestlatLng, LatLng northeastlatLng)
 {
     northeast           = new PlayableLocationLatLng();
     northeast.latitude  = northeastlatLng.Lat;
     northeast.longitude = northeastlatLng.Lng;
     southwest           = new PlayableLocationLatLng();
     southwest.latitude  = southwestlatLng.Lat;
     southwest.longitude = southwestlatLng.Lng;
 }
Exemple #2
0
 public SpawnLocation(
     string locationId,
     bool active,
     string objectTypeId,
     bool respawns,
     string respawnTime,
     int numberOfKeysToActivate,
     string keyTypeId,
     PlayableLocationLatLng snappedPoint)
 {
     this.locationId             = locationId;
     this.active                 = active;
     this.objectTypeId           = objectTypeId;
     this.respawns               = respawns;
     this.keyTypeId              = keyTypeId;
     this.respawnTime            = respawnTime;
     this.numberOfKeysToActivate = numberOfKeysToActivate;
     this.snappedPoint           = snappedPoint;
 }