I write a game in java with MVC pattern.
In this game, I use a keyListener class, to move an object. is it the right way of thinking to register the control class to the keyListener and every time that event will occur the controller will update by the keyListener?
thanks
Aucun commentaire:
Enregistrer un commentaire