- # Make some shapes from some playing card images.
- x = 200
-
- for card in ['_01c_', '_12h_', '_13d_', '_10s_']:
- bmpFunc = getattr(images, "get%sBitmap" % card)
- bmp = bmpFunc()
- shape = DragShape(bmp)
- shape.pos = (x, 5)
- self.shapes.append(shape)
- x = x + 80
-