<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -11,7 +11,6 @@
 - Add: Surface#set_at().
 
 - Add: Screen#icon=().
-- Add: Sprites::ScrollGroup.
 
 === Bug Fixes
 
@@ -32,7 +31,7 @@
 === Acknowledgements
 
 - Michael Swiger (mokkan) for Screen#icon=.
-- ippa for optimizing Rect#collide_rect? and adding Sprites::ScrollGroup.
+- ippa for optimizing Rect#collide_rect?.
 
 
 </diff>
      <filename>NEWS</filename>
    </modified>
    <modified>
      <diff>@@ -507,75 +507,5 @@ module Rubygame
 			end
 		end
 		
-		# ScrollGroup is a mix-in module that extends Group to allow sprites 
-		# to be &quot;scrollable&quot;, meaning that the sprites within the group is drawn/undrawn 
-		# with a modifiable viewport-offset (a Rect).
-		#
-		# Example behaivor of this functionallity could be modifying the viewport when 
-		# the player scrolls the screen up/down/left/right with the arrows or mouse.
-		# 
-		# Based of LimitGroup so it has @dirty_rects, but also adds:
-		# - ScrollGroup#viewport - all draws/undraws are offsetet with this Rect.
-		# - Only draw/undraws sprites within the current viewport to save CPU.
-		# 
-		module ScrollGroup
-			attr_accessor :dirty_rects, :viewport
-
-			# Defines @dirty_rects when an existing object is extended.
-			def ScrollGroup.extend_object(obj)
-				super
-				obj.dirty_rects = []
-				obj.viewport = Rect.new(0, 0, 0, 0)
-			end
-
-			# Initialize the Group, calling +super+ and defining @dirty_rects.
-			def initialize
-				super
-				@dirty_rects = []
-				@viewport = Rect.new(0, 0, 0, 0)
-			end
-
-			# call-seq: inside_viewport?(rect)  -&gt;  true|false
-			#
-			# Checks if rect is inside the current viewport.
-			# Used to only draw/undraw sprites inside the viewport (the onscreen visiable area of a gamemap)
-			#
-			def inside_viewport?(rect)
-				rect.x &gt;= 0 &amp;&amp; rect.x &lt;= @viewport.width &amp;&amp; rect.y &gt;= 0 &amp;&amp; rect.y &lt;= @viewport.height
-			end
-
-			# call-seq: draw(dest)  -&gt;  Array
-			# 
-			# Draw every sprite on Surface +dest+. See Group#draw.
-			# Returns an Array of Rects representing the portions of +dest+ which
-			# were affected by the last #undraw and this #draw.
-			def draw(destination)
-				self.each do |sprite| 
-					rect = sprite.rect.move(@viewport.x, @viewport.y)
-
-					if inside_viewport?(rect)
-						@dirty_rects.push(sprite.image.blit(destination, rect))
-					end
-				end
-				rects = @dirty_rects
-				@dirty_rects = []
-				return rects
-			end
-
-			# Draw over part of +dest+ with image data from the corresponding part
-			# of +background+. For best results, +background+ should be at least as
-			# big as +dest+ (or, rather, the part of +dest+ that will ever be drawn
-			# over).
-			def undraw(destination, background)
-				self.each do |sprite|
-					rect = sprite.rect.move(@viewport.x, @viewport.y)
-					if inside_viewport?(rect)
-						background.blit(destination, rect, rect)
-						@dirty_rects.push(rect)
-					end
-				end
-			end
-		end # module ScrollGroup
-
 	end #module Sprite
 end # module Rubygame</diff>
      <filename>lib/rubygame/sprite.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3fd06a993704b32aa4a73bf05cb5789a4de25762</id>
    </parent>
  </parents>
  <author>
    <name>John Croisant</name>
    <email>jacius@gmail.com</email>
  </author>
  <url>http://github.com/jacius/rubygame/commit/e31931e60bacb4bf9268067cd8998822401abceb</url>
  <id>e31931e60bacb4bf9268067cd8998822401abceb</id>
  <committed-date>2007-12-18T23:07:45-08:00</committed-date>
  <authored-date>2007-12-18T23:07:45-08:00</authored-date>
  <message>Removed ScrollGroup for now; it's not mature enough to ship.</message>
  <tree>8d6a341ca65cdc0233e8720ef1aead0edfcaced9</tree>
  <committer>
    <name>John Croisant</name>
    <email>jacius@gmail.com</email>
  </committer>
</commit>
