API Document Index



Class me.CollectableEntity


Extends me.ObjectEntity.

Defined in: <build/melonJS-0.9.3.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
me.CollectableEntity(x, y, settings)
Fields borrowed from class me.ObjectEntity:
accel, alive, canBreakTile, falling, friction, gravity, GUID, jumping, maxVel, onladder, onslope, onTileBreak, vel
Fields borrowed from class me.AnimationSheet:
animationspeed
Fields borrowed from class me.SpriteObject:
autodestroy, visible
Fields borrowed from class me.Rect:
bottom, height, left, pos, right, top, width
Methods borrowed from class me.ObjectEntity:
distanceTo, doClimb, doJump, doWalk, forceJump, onCollision, setFriction, setMaxVelocity, setVelocity, updateColRect, updateMovement
Methods borrowed from class me.AnimationSheet:
addAnimation, isCurrentAnimation, setAnimationFrame, setCurrentAnimation, update
Methods borrowed from class me.SpriteObject:
draw, flicker, flipX, flipY, isFlickering, onDestroyEvent, resize, setTransparency
Methods borrowed from class me.Rect:
contains, containsPoint, getRect, overlaps, set, union, within
Class Detail
me.CollectableEntity(x, y, settings)
Parameters:
{int} x
the x coordinates of the sprite object
{int} y
the y coordinates of the sprite object
{me.ObjectSettings} settings
object settings

Documentation generated by JsDoc Toolkit 2.4.0 on Tue May 01 2012 12:00:49 GMT+0800 (CST)