<reponame>Kimmiryeong/2DGP_GameProject
from pico2d import *

class Grass:
    player =None;
    def __init__(self):
        self.image = load_image('background.png')

    def draw(self):
        self.image.draw(400 -self.player.x, 300)
        draw_rectangle(*self.get_bb())

    def update(self):
    	pass
        
    def get_bb(self):
    	return 0, 0, 1600- 1, 105

    def get_player(self,player):
        self.player = player;
from pico2d import *

class Grass:
    player =None;
    def __init__(self):
        self.image = load_image('background.png')

    def draw(self):
        self.image.draw(400 -self.player.x, 300)
        draw_rectangle(*self.get_bb())

    def update(self):
    	pass
        
    def get_bb(self):
    	return 0, 0, 1600- 1, 105

    def get_player(self,player):
        self.player = player;