public void Update(GameTime gameTime)
{
if (_controlable)
{
if (_isAnimating)
{
_animations[_currentAnimation].Update(gameTime);
}
else
{
_animations[_currentAnimation].Reset();
}
}
else
{
if (_isAnimating)
{
_animation.Update(gameTime);
}
else
{
_animation.Reset();
}
}
}