Page 435 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 435
configurable: true
});
Object.defineProperty(Constants.prototype, "CANVAS_RATIO", {
get: function () {
return 0.75;
},
enumerable: true,
configurable: true
});
Object.defineProperty(Constants.prototype, "MIDDLE_CUP_POSITION", {
get: function () {
return new ShellGame.Position(this.CANVAS_WIDTH / 2, this.CANVAS_HEIGHT * (1
/ 6));
},
enumerable: true,
configurable: true
});
Object.defineProperty(Constants.prototype, "LEFT_CUP_POSITION", {
get: function () {
return new ShellGame.Position(this.CANVAS_WIDTH * (1 / 3),
this.CANVAS_HEIGHT * (2 / 5));
},
enumerable: true,
configurable: true
});
Object.defineProperty(Constants.prototype, "RIGHT_CUP_POSITION", {
get: function () {
return new ShellGame.Position(this.CANVAS_WIDTH * (2 / 3),
this.CANVAS_HEIGHT * (2 / 5));
},
enumerable: true,
configurable: true
});
return Constants;
})();
ShellGame.Constants = Constants;
})(ShellGame || (ShellGame = {}));
- 428 -