1 2 3 4 5 6 7 8
class Unit(): def __init__(self, pos, image): self.x, self.y = pos self.image = image def render(self, surface, offset): x, y = offset surface.blit(self.image, (self.x - x, self.y - y))
Loggerhead is a web-based interface for Breezy Version: 2.0.1