code: def image(self):
          
          self._image = self.genImage()
          self._image = funcs.rotateImage(self._image, self.direction)
          return self._image
docs: Generates the image using self.genImage(),
              then rotates it to self.direction and returns it.