private void idle()
{
if (isRight)
{
sprite.PlayAnimation(idleRightAnimation);
}
else
{
sprite.PlayAnimation(idleLeftAnimation);
}
}