Mercurial > rinkhals
comparison gamelib/gameboard.py @ 124:69fd96eafde8
Display splash screen and replace window title.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Wed, 02 Sep 2009 21:14:05 +0000 |
parents | d2b19131d537 |
children | 2e3a05b9594d |
comparison
equal
deleted
inserted
replaced
123:a7d803275a23 | 124:69fd96eafde8 |
---|---|
157 tbl.td(self.tvw) | 157 tbl.td(self.tvw) |
158 self.disp = gui.App() | 158 self.disp = gui.App() |
159 self.disp.init(tbl) | 159 self.disp.init(tbl) |
160 | 160 |
161 def paint(self, screen): | 161 def paint(self, screen): |
162 screen.fill(constants.BG_COLOR) | |
162 self.disp.paint(screen) | 163 self.disp.paint(screen) |
163 | 164 |
164 def update(self, screen): | 165 def update(self, screen): |
165 self.tvw.reupdate() | 166 self.tvw.reupdate() |
166 return self.disp.update(screen) | 167 return self.disp.update(screen) |