X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fbadguy%2Fyeti_stalactite.hpp;h=04897c0e8d474dc2d3f5e08d1bff6bb605e665bb;hb=7a6f00e27bdc0aac2107506c3b00cbf0bf1cccc5;hp=9030d773ea585d20fa1ad6e86e00c89fdb054407;hpb=cf3ee74c3cdbef06575891b454804b5f6f782de0;p=supertux.git diff --git a/src/badguy/yeti_stalactite.hpp b/src/badguy/yeti_stalactite.hpp index 9030d773e..04897c0e8 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,7 +33,8 @@ public: void active_update(float elapsed_time); void start_shaking(); bool is_hanging(); + + virtual YetiStalactite* clone() const { return new YetiStalactite(*this); } }; #endif -