Adding in missing tests and fixing as we go

This commit is contained in:
Richard Davey
2013-05-31 19:28:16 +01:00
parent d510b785b1
commit 31c4d8cb14
30 changed files with 529 additions and 118 deletions
+2 -1
View File
@@ -20,6 +20,7 @@ module Phaser {
super(game);
this.body.type = Types.BODY_DYNAMIC;
this.lifespan = 0;
this.friction = 500;
@@ -45,7 +46,7 @@ module Phaser {
*/
public update() {
//lifespan behavior
// Lifespan behavior
if (this.lifespan <= 0)
{
return;