Class Index | File Index

Classes


Class Punx.Entity


Defined in: punx.dist.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Punx.Entity(x, y, w, h)
Screen inhabitants.
Method Summary
Method Attributes Method Name and Description
<static>  
Punx.Entity.Collidable()
Entity can be collided by another entity.
<static>  
Punx.Entity.Drawable()
Entity can draw itself to an arbitrary context with optional offsets to account for camera position.
Class Detail
Punx.Entity(x, y, w, h)
Screen inhabitants. Includes backgrounds, NPC, baddies, player, text, anything drawn or collidable.
Parameters:
x
y
w
h
Method Detail
<static> Punx.Entity.Collidable()
Entity can be collided by another entity.

<static> Punx.Entity.Drawable()
Entity can draw itself to an arbitrary context with optional offsets to account for camera position.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Oct 03 2013 12:33:00 GMT-0700 (PDT)