libs/MainMenuState.cpp
/**
	 * @brief Function to draw all the components of MainMenu state on the screen.
	 *
	 * @param delta
	 */
@brief Function to draw all the components of MainMenu state on the screen.
@param delta
@brief Function to draw all the components of MainMenu state on the screen . @param delta
void MainMenuState::draw(float delta) {
		data->window.clear();
		data->window.draw(background_sprite);
		data->window.draw(title_sprite);
		data->window.draw(single_play_button_sprite);
		data->window.draw(join_play_button_sprite);
		data->window.draw(host_play_button_sprite);
		data->window.display();
	}
void MainMenuState :: draw ( float delta ) { data -> window . clear ( ) ; data -> window . draw ( background_sprite ) ; data -> window . draw ( title_sprite ) ; data -> window . draw ( single_play_button_sprite ) ; data -> window . draw ( join_play_button_sprite ) ; data -> window . draw ( host_play_button_sprite ) ; data -> window . display ( ) ; }
@brief Function to draw all the components of MainMenu state on the screen.
@brief Function to draw all the components of MainMenu state on the screen .