hoylemd / deathdeath

death death and more death. death? death!
0 stars 0 forks source link

Entity prototype object #20

Closed hoylemd closed 12 years ago

hoylemd commented 12 years ago

Should contain a draw method as well as hit points player and enemy should inherit from it

hoylemd commented 12 years ago

Added Entity prototype. Player and enemy inherit from it. When inherity from Entity, set the id to identify the sprite for the entity object.