public void clearAllMaps() {
    	for (int i=0; i<keyActions.length; i++) {
    		keyActions[i] = null;
    	}

    	for (int i=0; i<mouseActions.length; i++) {
    		mouseActions[i] = null;
    	}
    }