# File lib/rubygame/sprite.rb, line 131 def collide(other) if other.class.is_a? Group return collide_group(other) elsif collide_sprite?(other) return [other] else return [] end end