self._resolution = self._display_surface.get_size() | self._resolution = self._display_surface.get_size() | ||||
return self | return self | ||||
def flip(self): | |||||
if self._init: | |||||
pygame.display.flip() | |||||
def init(self): | def init(self): | ||||
if self._init == False: | if self._init == False: | ||||
self._init = True | self._init = True |