getBounds update.

This commit is contained in:
Richard Davey
2013-09-01 13:17:44 +01:00
parent 71b4cc532f
commit 7bdcbf5c2a
5 changed files with 325 additions and 167 deletions
+2
View File
@@ -44,6 +44,8 @@
game.debug.renderPoint(mummy.topRight, 'rgb(0,255,0)');
game.debug.renderPoint(mummy.bottomLeft, 'rgb(0,0,255)');
game.debug.renderPoint(mummy.bottomRight, 'rgb(255,0,255)');
game.debug.renderPoint(mummy.center, 'rgb(255,255,0)');
game.debug.renderRectangle(mummy.bounds, 'rgba(255,255,0,0.1)');
}