摘要:
在线演示显示代码1package{2importflash.display.Sprite;3importflash.events.Event;4importflash.geom.Point;56publicclassMouseAvoiderextendsSprite{78privateconstSPRING:Number=0.1;//弹性系数9privateconstFRICTION:Number=0.9;//摩擦系数10privateconstFEAR_DISTANCE:Number=150;//安全距离(小于该距离则发生躲避行为)11privateconstMAX_AVOID_FORC.. 阅读全文
posted @ 2010-08-01 14:40
ddw1997
阅读(258)
评论(0)
推荐(0)

浙公网安备 33010602011771号