// Perform a slide. void Slide() { // Set the slide variable to true. slide = true; // Set the player's sliding variable to true. player.Slide(true); }