add custom params for touchDown() function

view story

http://androidforums.com – Hi guys, I need to launch an sql query when a button is pressed : Code: public boolean touchDown (InputEvent event, float x, float y, int pointer, int button) {                                           db = new Database();                   scores = db.UpdateScore(entryId, types[type]);<=== ERROR HERE ("entryId" and "type" not defined)                 re (General)