Sloths / Project-Three

Repository for Project Three
0 stars 0 forks source link

All objects in canvas able to move #11

Closed HarryMills closed 9 years ago

HarryMills commented 9 years ago

Movement code to move treasure allows all items in canvas to be able to move. This should not be the case. image

Gurjmath commented 9 years ago

problem sorted, only issue is that trap and treasure inherit from same class. Both objects move with mouse, this should be only for treasure object.