Any party may move for judgment on the pleadings after the answer is filed, or if an incidental demand has been instituted after the answer thereto has been filed, but within such time as not to delay the trial. For the purposes of this motion, all allegations of fact in mover's pleadings not denied by the adverse party or by effect of law, and all allegations of fact in the adverse party's pleadings shall be considered true.