Created
July 26, 2011 20:59
-
-
Save Enome/1108023 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Bullet(){ | |
function fire(){ | |
//move event | |
}; | |
function move(el){ | |
}; | |
}; | |
class Player(){ | |
function shoot(){ | |
var bullet = new Bullet(); | |
this.addChild( bullet ); | |
bullet.fire(); | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment