Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 887 Bytes

File metadata and controls

32 lines (26 loc) · 887 Bytes

move(self,x,y)

Moves the CardHandSprite object by an offset of x and y.

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 and starts a position (0,0) this below would move the position to (50,50)
hand.move(50,50)

# This below would move the position to (51,50)
hand.move(1,0)

back