create a ShipDelegate

to transfert key input to Ship action call
handle keyboard events on program loop