Class me.CollectableEntity
Extends
me.ObjectEntity.
Defined in: <build/melonJS-0.9.3.js>.
| 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