diff demos/shooter/scripts/common/baseobject.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 e241d7553496
children 291ba2946c73
line wrap: on
line diff
--- a/demos/shooter/scripts/common/baseobject.py	Fri Oct 01 14:09:47 2010 +0000
+++ b/demos/shooter/scripts/common/baseobject.py	Fri Oct 01 15:32:55 2010 +0000
@@ -23,7 +23,7 @@
 
 from fife import fife
 from fife.extensions.fife_math import normalize
-from fife.extensions.fife_math import Rect
+from fife.fife import FloatRect as Rect
 
 
 SHTR_DEFAULT = 0