Mercurial > fife-parpg
diff demos/shooter/scripts/scene.py @ 622:c0c3f64bfc2d
* Templatized Rect to extend it's functionality beyond integers
* Added some typedefs: Rect, FloatRect, DoubleRect
* Removed the Rect class from the fife_math extensions
* Modified the shooter demo to use the FIFE rect template class
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 01 Oct 2010 15:32:55 +0000 |
parents | cccff9b04f57 |
children |
line wrap: on
line diff
--- a/demos/shooter/scripts/scene.py Fri Oct 01 14:09:47 2010 +0000 +++ b/demos/shooter/scripts/scene.py Fri Oct 01 15:32:55 2010 +0000 @@ -26,7 +26,7 @@ from scripts.ships.player import Player from scripts.ships.enemies import * from scripts.powerups import * -from fife.extensions.fife_math import Rect +from fife.fife import FloatRect as Rect class SceneNode(object): """