LastOldWorkVersionOfAnimator

This commit is contained in:
Timofey06 2023-08-15 16:46:41 +03:00
parent 5f6be8e23c
commit 2d33e13283
2 changed files with 3 additions and 1 deletions

View file

@ -21,7 +21,9 @@ namespace DangerousD.GameCore.Graphics
string json = reader.ReadToEnd();
AnimationContainer animation = JsonConvert.DeserializeObject<AnimationContainer>(json);
Animations.Add(animation);
reader.Close();
}
}
}
}

View file

@ -103,7 +103,7 @@ namespace DangerousD.GameCore
LobbyGUI.Draw(_spriteBatch);
break;
case GameState.Game:
_spriteBatch.Begin(SpriteSortMode.Deferred,null/*,SamplerState.PointClamp*/);
_spriteBatch.Begin(SpriteSortMode.Deferred,null,SamplerState.PointClamp);
GameManager.Draw(_spriteBatch);
_spriteBatch.End();
break;