'Determines behavior based on state'

def handle_state(self):

    if (self.state == c.TOP_OF_POLE):
        self.image = self.frames[0]
    elif (self.state == c.SLIDE_DOWN):
        self.sliding_down()
    elif (self.state == c.BOTTOM_OF_POLE):
        self.image = self.frames[0]
