Mercurial > touhou
diff pytouhou/game/enemy.py @ 222:5cac48b328ad
Refactor rendering code a bit.
Move duplicated camera setup code to a new “setup_camera” method,
and move common methods to a new “Renderer” module in order to make
individual sprite rendering easier.
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Sun, 18 Dec 2011 20:47:48 +0100 |
parents | 0595315d3880 |
children | 3cbfa2c11dec 1de67f332f00 |