mobile-graphic-enchant-dev-src-Group.js / js
@scope enchant.Group.prototype
@name enchant.Group @class [lang:ja] 複数の{gray enchant.Node}を子に持つことができるクラス. @example var stage = new Group(); stage.addChild(player); stage.addChild(enemy); stage.addChild(map); stage.addEventListener('enterframe', function() { // playerの座標に従って全体をスクロールする if (this.x > 64 - player.x) { this.x = 64 - player.x; } }); @extends enchant.Node [/lang] [lang:en] A class that can hold multiple {gray enchant.Node}. @example var stage = new Group(); stage.addChild(player); stage.addChild(enemy); stage.addChild(map); stage.addEventListener('enterframe', function() { // Moves the entire frame in according to the player's coordinates. if (this.x > 64 - player.x) { this.x = 64 - player.x; } }); [/lang] [lang:de] Eine Klasse die mehrere {gray enchant.Node} beinhalten kann. @example var stage = new Group(); stage.addChild(player); stage.addChild(enemy); stage.addChild(map); stage.addEventListener('enterframe', function() { // Bewegt den gesamten Frame je nach der aktuelle Spielerposition. if (this.x > 64 - player.x) { this.x = 64 - player.x; } }); [/lang] @constructs @extends enchant.Node
[lang:ja] 子のNode. [/lang] [lang:en] Child Nodes. [/lang] [lang:de] Kind-Nodes. [/lang] @type {Array.<enchant.Node>}
[lang:ja] GroupにNodeを追加する.
parameter: {enchant.Node} node 追加するNode. [/lang] [lang:en] Adds a Node to the Group.
parameter: {enchant.Node} node Node to be added. [/lang] [lang:de] Fügt einen Node zu der Gruppe hinzu.
parameter: {enchant.Node} node Node der hinzugeügt werden soll. [/lang]
[lang:ja] GroupにNodeを挿入する.
parameter: {enchant.Node} node 挿入するNode.
parameter: {enchant.Node} reference 挿入位置の前にあるNode. [/lang] [lang:en] Incorporates Node into Group.
parameter: {enchant.Node} node Node to be incorporated.
parameter: {enchant.Node} reference Node in position before insertion. [/lang] [lang:de] Fügt einen Node vor einen anderen Node zu dieser Gruppe hinzu.
parameter: {enchant.Node} node Der Node der hinzugefügt werden soll.
parameter: {enchant.Node} reference Der Node der sich vor dem einzufügendem Node befindet. [/lang]
[lang:ja] GroupからNodeを削除する.
parameter: {enchant.Node} node 削除するNode. [/lang] [lang:en] Remove a Node from the Group.
parameter: {enchant.Node} node Node to be deleted. [/lang] [lang:de] Entfernt einen Node aus der Gruppe.
parameter: {enchant.Node} node Der Node der entfernt werden soll. [/lang]
[lang:ja] 最初の子Node. [/lang] [lang:en] The Node which is the first child. [/lang] [lang:de] Der Node, welcher das erste Kind der Gruppe darstellt. [/lang] @type {enchant.Node}
[lang:ja] 最後の子Node. [/lang] [lang:en] The Node which is the last child. [/lang] [lang:de] Der Node, welcher das letzte Kind der Gruppe darstellt. [/lang] @type {enchant.Node}
[lang:ja] Groupの回転角 (度数法). [/lang] [lang:en] Group rotation angle (degree). [/lang] [lang:de] Rotationswinkel der Gruppe (Grad). [/lang] @type {Number}
[lang:ja] Groupのx軸方向の倍率. [/lang] [lang:en] Scaling factor on the x axis of the Group. [/lang] [lang:de] Skalierungsfaktor auf der x-Achse der Gruppe. [/lang] @type {Number}
see: enchant.CanvasGroup.originX
see: enchant.CanvasGroup.originY
[lang:ja] Groupのy軸方向の倍率. [/lang] [lang:en] Scaling factor on the y axis of the Group. [/lang] [lang:de] Skalierungsfaktor auf der y-Achse der Gruppe. [/lang] @type {Number}
see: enchant.CanvasGroup.originX
see: enchant.CanvasGroup.originY
[lang:ja] 回転・拡大縮小の基準点のX座標 [/lang] [lang:en] origin point of rotation, scaling [/lang] [lang:de] Ausgangspunkt für Rotation und Skalierung. [/lang] @type {Number}
[lang:ja] 回転・拡大縮小の基準点のX座標 [/lang] [lang:en] origin point of rotation, scaling [/lang] [lang:de] Ausgangspunkt für Rotation und Skalierung. [/lang] @type {Number}
(C) Æliens 04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.