import pygame
import player


class Terrain(pygame.sprite.Sprite):
    """
    The class used to handle terrain objects.
    These are objects that the player can not fly through.
    """

    def __init__(self, position, width, height, color=(255, 255, 255), *groups
        ):
        super().__init__(groups)
        self.image = pygame.Surface([width, height])
        self.image.fill(color)
        self.rect = self.image.get_rect()
        self.rect.topleft = position

35ce19a94fc4a05065e6e68a56ee854c8cbcb60e
<mask token>


class Terrain(pygame.sprite.Sprite):
    <mask token>
    <mask token>

<mask token>


class Terrain(pygame.sprite.Sprite):
    <mask token>

    def __init__(self, position, width, height, color=(255, 255, 255), *groups
        ):
        super().__init__(groups)
        self.image = pygame.Surface([width, height])
        self.image.fill(color)
        self.rect = self.image.get_rect()
        self.rect.topleft = position

<mask token>


class Terrain(pygame.sprite.Sprite):
    """
    The class used to handle terrain objects.
    These are objects that the player can not fly through.
    """

    def __init__(self, position, width, height, color=(255, 255, 255), *groups
        ):
        super().__init__(groups)
        self.image = pygame.Surface([width, height])
        self.image.fill(color)
        self.rect = self.image.get_rect()
        self.rect.topleft = position

import pygame
import player


class Terrain(pygame.sprite.Sprite):
    """
    The class used to handle terrain objects.
    These are objects that the player can not fly through.
    """

    def __init__(self, position, width, height, color=(255, 255, 255), *groups
        ):
        super().__init__(groups)
        self.image = pygame.Surface([width, height])
        self.image.fill(color)
        self.rect = self.image.get_rect()
        self.rect.topleft = position
