Class: CollectableEntity

me. CollectableEntity

new CollectableEntity(x, y, settings)

Parameters:
Name Type Description
x Number the x coordinates of the entity object
y Number the y coordinates of the entity object
settings Object See me.Entity
Source:
collectable_entity.js, line 19

Extends

Members

alpha :Number

Define the renderable opacity
Set to zero if you do not wish an object to be drawn
Type:
  • Number
Inherited From:
Default Value:
  • 1.0
Source:
renderable.js, line 209
See:
  • me.Renderable#setOpacity
  • me.Renderable#getOpacity

ancestor :me.Container|me.Entity

a reference to the parent object that contains this renderable, or undefined if it has not been added to one.
Type:
Inherited From:
Default Value:
  • undefined
Source:
renderable.js, line 221