Class enchant.widget.EntityGroup
- Defined in: widget.enchant.js
- Extends enchant.Entity
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.widget.EntityGroup(width, height)
Entity that can have children.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
enchant.widget.EntityGroup.addChild
Add Node to EntityGroup.
|
<static> |
enchant.widget.EntityGroup.background
Surface used as background.
|
<static> |
enchant.widget.EntityGroup.firstChild
First child Node.
|
<static> |
enchant.widget.EntityGroup.height
|
<static> |
enchant.widget.EntityGroup.insertBefore
Insert Node to EntityGroup.
|
<static> |
enchant.widget.EntityGroup.lastChild
Last child Node.
|
<static> |
enchant.widget.EntityGroup.removeChild
Delete Node from EntityGroup.
|
<static> |
enchant.widget.EntityGroup.width
|
- Fields borrowed from class enchant.Entity:
- backgroundColor, buttonMode, buttonPressed, compositeOperation, debugColor, opacity, originX, originY, rotation, scaleX, scaleY, touchEnabled, visible
- Fields borrowed from class enchant.Node:
- age, parentNode, scene, x, y
Method Summary
- Methods borrowed from class enchant.Entity:
- disableCollection
- enableCollection
- intersect
- rotate
- scale
- within
- Methods borrowed from class enchant.Node:
- moveBy
- moveTo
- Methods borrowed from class enchant.EventTarget:
- addEventListener
- clearEventListener
- dispatchEvent
- on
- removeEventListener
Class Detail
enchant.widget.EntityGroup(width, height)
Entity that can have children.
- Parameters:
- {Number} width
- Entity width.
- {Number} height
- Entity height.
Field Detail
<static>
enchant.widget.EntityGroup.addChild
Add Node to EntityGroup.
<static>
enchant.widget.EntityGroup.background
Surface used as background.
<static>
enchant.widget.EntityGroup.firstChild
First child Node.
<static>
enchant.widget.EntityGroup.height
<static>
enchant.widget.EntityGroup.insertBefore
Insert Node to EntityGroup.
<static>
enchant.widget.EntityGroup.lastChild
Last child Node.
<static>
enchant.widget.EntityGroup.removeChild
Delete Node from EntityGroup.
<static>
enchant.widget.EntityGroup.width