©2010
<<<<<<< HEAD Generated by JsDoc Toolkit 2.4.0 on Mon Mar 21 2011 06:33:39 GMT-0000 (UTC)
======= Generated by JsDoc Toolkit 2.4.0 on Mon Apr 04 2011 02:43:32 GMT-0000 (UTC)
>>>>>>> 3fe863faa00b8e51f1f2f53b6d3e10fbf4b349ff HTML template: Codeview

Class Drawable

<<<<<<< HEAD
Defined in: GameLib.js. =======
Defined in: gamelib.js. >>>>>>> 3fe863faa00b8e51f1f2f53b6d3e10fbf4b349ff

Class Summary
Constructor Attributes Constructor Name and Description
 
The Drawable module is used to provide a simple draw method to the including object.
Method Summary
Method Attributes Method Name and Description
<static>  
Drawable.draw(canvas)
 
draw(canvas)
Draw this object on the canvas.
Class Detail
Drawable(I)
The Drawable module is used to provide a simple draw method to the including object.
Parameters:
{Object} I
Instance variables
Method Detail
<static> Drawable.draw(canvas)
Parameters:
canvas
draw(canvas)
Draw this object on the canvas. It uses the x and y instance attributes to position and the sprite instance attribute to determine what to draw.
Parameters:
canvas