Re: Bouncing Ball in Java Bridge

8 views
Skip to first unread message

David W Wolber

unread,
Feb 8, 2012, 10:33:42 AM2/8/12
to android-progr...@googlegroups.com
HI Lazeeb. EdgeReached is an event handler of ImageSprite. So  subclass ImageSprite and create your object of the subtype, then override the EdgeReached method in the subclass. In that method, put the code for responding to the edge being reached.

Dave

On Tue, Feb 7, 2012 at 9:33 PM, Lazeeb Choudhury <laz...@gmail.com> wrote:
Hi:
Does anybody know how can I bounce a Ball object off the side of the canvas in java bridge?
There is a EdgeReached method but it returns Void...i cannot get it to work.

-Lazeeb

Reply all
Reply to author
Forward
0 new messages