/// <summary> /// Method to run when a jumpspot is bound /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void _source_OnJumpSpotBound(object sender, EventArgs e) { var spot = sender as DataJumpSpot; if (spot.Placement == DataJumpSpot.Location.Left) { _jumpSpotLeft = new SpriteFlag(this.SceneLayer, spot); _jumpSpotLeft.Initialize(); _jumpSpotLeft.LoadContent(this.ContentManager); } else { _jumpSpotRight = new SpriteFlag(this.SceneLayer, spot); _jumpSpotRight.Initialize(); _jumpSpotRight.LoadContent(this.ContentManager); } }