X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fbadguy%2Fyeti_stalactite.hpp;h=40ead0d03a32b6929af62df3f48b6534659559a6;hb=e7042da286e68756298cc205910b35c1da551167;hp=9030d773ea585d20fa1ad6e86e00c89fdb054407;hpb=cf3ee74c3cdbef06575891b454804b5f6f782de0;p=supertux.git diff --git a/src/badguy/yeti_stalactite.hpp b/src/badguy/yeti_stalactite.hpp index 9030d773e..40ead0d03 100644 --- a/src/badguy/yeti_stalactite.hpp +++ b/src/badguy/yeti_stalactite.hpp @@ -1,7 +1,7 @@ // $Id$ -// +// // SuperTux -// Copyright (C) 2005 Matthias Braun +// 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 @@ -12,11 +12,11 @@ // 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. +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + #ifndef __YETI_STALACTITE_H__ #define __YETI_STALACTITE_H__ @@ -33,6 +33,8 @@ public: void active_update(float elapsed_time); void start_shaking(); bool is_hanging(); + + virtual YetiStalactite* clone() const { return new YetiStalactite(*this); } }; #endif