home *** CD-ROM | disk | FTP | other *** search
- package Code.org.cove.ape
- {
- public class _gf356 extends _um83
- {
-
-
- private var delta:_be271;
-
- public function _gf356()
- {
- super();
- delta = new _be271();
- }
-
- public function _aw164(param1:Number, param2:_be271) : void
- {
- var _loc3_:_hu144 = null;
- var _loc4_:Array = null;
- var _loc5_:int = 0;
- var _loc6_:int = 0;
- var _loc7_:Number = NaN;
- var _loc8_:Number = NaN;
- _loc5_ = int((_loc4_ = _id359).length);
- _loc6_ = 0;
- while(_loc6_ < _loc5_)
- {
- _loc3_ = _loc4_[_loc6_];
- _loc7_ = _loc3_.center.distance(param2);
- _loc8_ = _uv357(param2,_loc3_.center) + param1;
- _loc3_._ej28 = Math.cos(_loc8_) * _loc7_ + param2.x;
- _loc3_._th99 = Math.sin(_loc8_) * _loc7_ + param2.y;
- _loc6_++;
- }
- }
-
- public function _sh87(param1:Number, param2:_be271) : void
- {
- var _loc3_:Number = NaN;
- _loc3_ = param1 * _ex374.PI_OVER_ONE_EIGHTY;
- _aw164(_loc3_,param2);
- }
-
- protected function _uv357(param1:_be271, param2:_be271) : Number
- {
- delta._rk329(param2.x - param1.x,param2.y - param1.y);
- return Math.atan2(delta.y,delta.x);
- }
-
- public function update() : void
- {
- }
-
- public function set fixed(param1:Boolean) : void
- {
- var _loc2_:int = 0;
- _loc2_ = 0;
- while(_loc2_ < _id359.length)
- {
- _id359[_loc2_].fixed = param1;
- _loc2_++;
- }
- }
-
- public function get fixed() : Boolean
- {
- var _loc1_:int = 0;
- _loc1_ = 0;
- while(_loc1_ < _id359.length)
- {
- if(!_id359[_loc1_].fixed)
- {
- return false;
- }
- _loc1_++;
- }
- return true;
- }
- }
- }
-