views:

25

answers:

1

Im trying to make a gane and i need to be able to move an object with the help of the key pad. I tried using the basic event handlers, like onKeyDown bit how do i redraw the screen??

A: 

screen is force-redrawed using invalidate() function

zed_0xff