2012-10-01 91 views

回答

0

嘗試這樣:

if(goog.math.Box.intersects(this.sprite1.getBoundingBox(), sprite2.getBoundingBox())){ 
    //do something... 
}