comparison pyntnclick/constants.py @ 732:4f34b36ee7c5 pyntnclick

Add constants subclass to gamelib, and get the title + icon from it
author Stefano Rivera <stefano@rivera.za.net>
date Tue, 15 Jan 2013 23:15:11 +0200
parents 2f74064bc779
children 43b49f1de828
comparison
equal deleted inserted replaced
731:2f74064bc779 732:4f34b36ee7c5
12 return False 12 return False
13 return True 13 return True
14 14
15 15
16 class GameConstants(object): 16 class GameConstants(object):
17 title = None
18 # Icon for the main window, in the icons basedir
19 icon = None
20
17 screen = (800, 600) 21 screen = (800, 600)
18 snd_freq = 44100 22 snd_freq = 44100
19 snd_bitsize = -16 23 snd_bitsize = -16
20 snd_channels = 2 24 snd_channels = 2
21 snd_buffer = 1024 # no. of samples 25 snd_buffer = 1024 # no. of samples