Page 440 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 440

self.raiseIt(0, self);
                                            }  else  {
                                                 self.putIt(0, self, null);

                                            }
                                            self.raisedUp =  !self.raisedUp;
                                       }
                                 });
                                 self.game.layer.add(self.kineticImage);
                                 self.kineticImage.moveToTop();
                                 self.game.layer.draw();
                            };
                       }
                       Object.defineProperty(Cup.prototype,  "KineticImage",  {
                            get:  function  ()  {
                                 return  this.kineticImage;
                            },
                            enumerable:  true,

                            configurable: true
                       });
                       Object.defineProperty(Cup.prototype,  "IsSwapInProgress",  {
                            get:  function  ()  {
                                 return  this.isSwapInProgress;
                            },
                            set:  function (value) {
                                 this.isSwapInProgress = value;
                            },
                            enumerable:  true,
                            configurable: true
                       });
                       Object.defineProperty(Cup.prototype, "RaisedUp", {
                            get:  function  ()  {
                                 return  this.raisedUp;
                            },
                            enumerable:  true,

                            configurable: true
                       });
                            Object.defineProperty(Cup.prototype,  "HasBall",  {
                            get:  function  ()  {
                                 return  this.hasBall;
                            },



                                                         -  433  -
   435   436   437   438   439   440   441   442   443   444   445