Public feed #887370

Miscellany

public text v1 · immutable
Raw Edit
·published 2008-02-01 08:16 UTC
rendered paste body
#############################################################################
#The main menu classes for pong						    #
#############################################################################
import pygame, os, sys
from pygame.locals import *
 
 
class menu():
	
	def DrawMenu(self):
		
		#setup the screen#
		self.screen = pygame.display.set_mode ((800,600))
		pygame.display.set_caption ("pong")
		#set image variables and load background#
		self.BackGround = pygame.image.load (os.path.join ("Data", "menubackground.jpeg"))
		self.BackGround = self.BackGround.convert()
		self.screen.blit(self.BackGround,(0,0))