X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmoving_object.cpp;h=f71e909d0cb86c0ddf296101b9f39d2af978df37;hb=755ac9ae45065248ddf1343a82671f871b447577;hp=d06f9bb3f4912ab95999935922c9642f306ff01c;hpb=403f2652505e814b645892bffaf89a584984f9b8;p=supertux.git diff --git a/src/moving_object.cpp b/src/moving_object.cpp index d06f9bb3f..f71e909d0 100644 --- a/src/moving_object.cpp +++ b/src/moving_object.cpp @@ -1,12 +1,30 @@ -#include "moving_object.h" +// $Id$ +// +// SuperTux +// Copyright (C) 2006 Matthias Braun +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#include + +#include "moving_object.hpp" MovingObject::MovingObject() { - base.x = base.y = base.width = base.height = 0; - old_base = base; + group = COLGROUP_MOVING; } MovingObject::~MovingObject() { } -