05-11-2013, 12:51 PM
ok so i did everything like you and then implemented the keylistener into the main class. but i don't know how to define the "x" and "y" in the KeyPressed method
Edit:I figured it out <!-- s --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="" title="Smile" /><!-- s -->if someone is interested: http://pastebin.com/3VKU2Xt7
Edit:I figured it out <!-- s --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="" title="Smile" /><!-- s -->if someone is interested: http://pastebin.com/3VKU2Xt7