Mercurial > fife-parpg
diff demos/shooter/scripts/gui/guis.py @ 491:c4168eb47a44
Adding some comments to the shooter demo. Updated the copyright date and FIFE URL as well.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 06 May 2010 19:34:21 +0000 |
parents | ab28994820dd |
children | 987307d12235 |
line wrap: on
line diff
--- a/demos/shooter/scripts/gui/guis.py Wed May 05 21:39:31 2010 +0000 +++ b/demos/shooter/scripts/gui/guis.py Thu May 06 19:34:21 2010 +0000 @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- # #################################################################### -# Copyright (C) 2005-2009 by the FIFE team -# http://www.fifengine.de +# Copyright (C) 2005-2010 by the FIFE team +# http://www.fifengine.net # This file is part of FIFE. # # FIFE is free software; you can redistribute it and/or @@ -139,6 +139,9 @@ self._score = int(score) class HighScores(object): + """ + Handles all the high scores. It saves and loads the high score file. + """ def __init__(self, world): self._world = world self.load() @@ -375,4 +378,4 @@ self._widget.show() def hide(self): - self._widget.hide() \ No newline at end of file + self._widget.hide()