Wmaxlees / hackcu

Repo for HackCU III event
0 stars 1 forks source link

Android UX Interactions - Move #10

Open robfitzgerald opened 7 years ago

robfitzgerald commented 7 years ago

Our drawings are now placed in a class wrapper. Find out how to move such an object.

Create a gesture where you can move a selected object.

Selection will be used by other interactions.

robfitzgerald commented 7 years ago

in MOUSE_DOWN, if selectedIndex != -1, then

pathList[selectedIndex].reset()
drawMySpecialObjectType(objectDataList[selectedIndex].shape, pathList[selectedIndex])