Class enchant.widget.EntityGroup
- Defined in: widget.enchant.js
- Extends enchant.Entity
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.widget.EntityGroup(width, height)
子を持つことができるEntity.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
enchant.widget.EntityGroup.addChild
EntityGroupにNodeを追加する.
|
<static> |
enchant.widget.EntityGroup.background
背景として使用するSurface.
|
<static> |
enchant.widget.EntityGroup.firstChild
最初の子Node.
|
<static> |
enchant.widget.EntityGroup.height
|
<static> |
enchant.widget.EntityGroup.insertBefore
EntityGroupにNodeを挿入する.
|
<static> |
enchant.widget.EntityGroup.lastChild
最後の子Node.
|
<static> |
enchant.widget.EntityGroup.removeChild
EntityGroupからNodeを削除する.
|
<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.
- Parameters:
- {Number} width
- Entityの横幅.
- {Number} height
- Entityの高さ.
Field Detail
<static>
enchant.widget.EntityGroup.addChild
EntityGroupにNodeを追加する.
<static>
enchant.widget.EntityGroup.background
背景として使用するSurface.
<static>
enchant.widget.EntityGroup.firstChild
最初の子Node.
<static>
enchant.widget.EntityGroup.height
<static>
enchant.widget.EntityGroup.insertBefore
EntityGroupにNodeを挿入する.
<static>
enchant.widget.EntityGroup.lastChild
最後の子Node.
<static>
enchant.widget.EntityGroup.removeChild
EntityGroupからNodeを削除する.
<static>
enchant.widget.EntityGroup.width