You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdegames/ktuberling/action.cpp

21 lines
469 B

/* -------------------------------------------------------------
KDE Tuberling
Action stored in the undo buffer
mailto:e.bischoff@noos.fr
------------------------------------------------------------- */
#include "action.h"
// Constructor
Action::Action
(const ToDraw *drawn1, int zOrder1,
const ToDraw *drawn2, int zOrder2)
{
if (drawn1) drawnBefore = *drawn1;
zOrderBefore = zOrder1;
if (drawn2) drawnAfter = *drawn2;
zOrderAfter = zOrder2;
}