import pygame
pygame.init()

class Snack( pygame.sprite.Sprite ):
	"""
	A snack is a little something that our caterpillar can eat.  Eating it
	makes it grow!
	After it has been eaten, it is gone.
	"""

	def __init__( self, size, color, top, left ):
		"""
		Parameters
			size	int
				Size in px of the Snack.  All of the sides are equal in length.
			color	( int, int, int )
				The color of the snack.
			top		int
				The top position of the snack.
			bottom	int
				The bottom position of the snack.
		"""
		pygame.sprite.Sprite.__init__( self )
		
		self._size = size
		self._color = color
		self._top = top
		self._left = left

		self.image = pygame.Surface( ( self._size, self._size ) )
		self.image.fill( self._color )
		self.rect = self.image.get_rect( topleft = ( self._top, self._left ) )

	def update( self ):
		pass
