Class enchant.AvatarBG
- Defined in: avatar.enchant.js
- Extends enchant.Group
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.AvatarBG(mode)
A class of infinite scrolling background.
|
- Fields borrowed from class enchant.Group:
- childNodes, firstChild, lastChild, originX, originY, rotation, scaleX, scaleY
- Fields borrowed from class enchant.Node:
- age, parentNode, scene, x, y
Method Summary
Method Attributes | Method Name and Description |
---|---|
scroll(x)
horizontal scrolling.
|
- Methods borrowed from class enchant.Group:
- addChild
- insertBefore
- removeChild
- Methods borrowed from class enchant.Node:
- moveBy
- moveTo
- Methods borrowed from class enchant.EventTarget:
- addEventListener
- clearEventListener
- dispatchEvent
- on
- removeEventListener
Class Detail
enchant.AvatarBG(mode)
A class of infinite scrolling background.
- Parameters:
- mode
- {Number} 0 to 3
Method Detail
-
scroll(x)horizontal scrolling.
- Parameters:
- {int} x
- Offset of x coordinate.