jas
2015-08-19 17:44:43 5 举报
JS游戏框架图
作者其他创作
大纲/内容
_classname:\"Player\"readonly readyState:Numberframes:Array
Shape : Sprite
_classname:\"Shape\"
getArea():Number
Formula
rotate()speed()...
Sprite
Sprite : DisplayObject
readonly position:Positionreadonly rotation:Rotationid:Id
moveTo(p:Position)rotateTo(r:Rotation)
Tween
Postion
x:Numbery:Numberz:Number
Event
type:Stringtimestamp:Numbertarget:Object
Group : DisplayObject
readonly children:Li\bstreadonly parent:DisplayObject = null
Img : Sprite
_classname:\"Img\"readonly readyState:Number
setSrc(src:String)
Rotation
alpha:Numberbeta:Numbergamma:Number
Tween : EventDispater
readonly progress:Numberreadonly status:Numberframes:Array
Tween()start()pause()resume()end()
Index : Number
max:Numberreadonly min:0
Stage : Group
width:Numberheight:Numbercontainer:HTMLElement
EventDispatcher
Id : Number
generate():Number
DisplayObject : EventDispatcher
readonly element:HTMLElementremove()prev():DisplayObjectnext():DisplayObjectindex():Index
Text : Sprite
_classname:\"Text\"
setText(String)
List:Array
eachinsert
Controller:EventDispatcher
ORIENTAIONCHANGE:'orientationChange'
0 条评论
下一页
为你推荐
查看更多
抱歉,暂无相关内容