摘要: // Shape 类function Shape(id, x, y) { this.id = id; this.setLocation(x, y);}// 设置坐标的原型方法Shape.prototype.setLocation = function(x, y) { this.x = x; this 阅读全文
posted @ 2019-11-18 13:51 又回到了起点 阅读(609) 评论(0) 推荐(0) 编辑