LastOldWorkVersionOfAnimator
This commit is contained in:
parent
5f6be8e23c
commit
2d33e13283
2 changed files with 3 additions and 1 deletions
|
@ -21,7 +21,9 @@ namespace DangerousD.GameCore.Graphics
|
||||||
string json = reader.ReadToEnd();
|
string json = reader.ReadToEnd();
|
||||||
AnimationContainer animation = JsonConvert.DeserializeObject<AnimationContainer>(json);
|
AnimationContainer animation = JsonConvert.DeserializeObject<AnimationContainer>(json);
|
||||||
Animations.Add(animation);
|
Animations.Add(animation);
|
||||||
|
reader.Close();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -103,7 +103,7 @@ namespace DangerousD.GameCore
|
||||||
LobbyGUI.Draw(_spriteBatch);
|
LobbyGUI.Draw(_spriteBatch);
|
||||||
break;
|
break;
|
||||||
case GameState.Game:
|
case GameState.Game:
|
||||||
_spriteBatch.Begin(SpriteSortMode.Deferred,null/*,SamplerState.PointClamp*/);
|
_spriteBatch.Begin(SpriteSortMode.Deferred,null,SamplerState.PointClamp);
|
||||||
GameManager.Draw(_spriteBatch);
|
GameManager.Draw(_spriteBatch);
|
||||||
_spriteBatch.End();
|
_spriteBatch.End();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue