Rect.clamp() — 將一個Rect 物件移動到另一個Rect 物件的中心; pygame.Rect.clamp_ip() — 原地將 ... rect1.right = 10 rect2.center = (20,30).
確定! 回上一頁