摘要:
文档类package{importcom.Boll;importflash.display.Sprite;importflash.display.StageScaleMode;importflash.events.Event;publicclassMainextendsSprite{//小球的范围内上下左右的极限边界值privatevarleft:uint=43;privatevarright:uint=457;privatevartop:uint=43;privatevarbottom:uint=247;publicfunctionMain():void{//舞台设为无缩放模式stage.s 阅读全文
摘要:
文档类package{importcom.RectShape;importflash.display.Sprite;importflash.events.MouseEvent;publicclassMainextendsSprite{//方块的排列数组privatevarindexshape:Array=newArray(1,2,3,4,5,6,7,8);//记录地图某个位置是否占用了小方块的坐标数组privatevarditu:Array=newArray(newArray(3),newArray(3),newArray(3));//记录小方块的排列位置privatevarpailie:Ar 阅读全文