Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 789 Bytes

File metadata and controls

29 lines (24 loc) · 789 Bytes

setPosition(self,x,y)

Set position of the top left corner of the CardSprites in the CardHandSprite list.

Parameters
Name Data Type Description
self
x float the x-coordinate value
y float the y-coordinate value
Return Type

void

Usage
hand = CardHandSprite()
# Assuming that there are already cards in your hand
hand.setPosition(50,50)

back