~jtietema/+junk/strategy

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))