private void timer1_Tick(object sender, EventArgs e)//wy { timer1.Interval = snake.Speed; game.Close_Error(snake, snake.PB, db, timer1, score, this); snake.SnakeMove(pictureBox1); snake.Eat(this, game, score); if (game.Count == 0 && game.Eatcount * game.Score_Now != game.MaxScore) { game.New_Food(snake.Pir, snake, snake.PB, this); } if (game.Eatcount * game.Score_Now == game.MaxScore) { game.LV_SET(timer1, score, db, this, snake, game); } }