(self, name="", Set=None, x=0, y=0, w=0, h=0)
| 37 | |
| 38 | class Sprite(Struct): |
| 39 | def __init__(self, name="", Set=None, x=0, y=0, w=0, h=0): |
| 40 | Struct.__init__(self, "CDataSprite") |
| 41 | self.name = String(name) |
| 42 | self.set = Pointer(SpriteSet, Set) # TODO |
| 43 | self.x = Int(x) |
| 44 | self.y = Int(y) |
| 45 | self.w = Int(w) |
| 46 | self.h = Int(h) |
| 47 | |
| 48 | |
| 49 | class Pickup(Struct): |