renamed Rectangle to Rect because of ยง%$
[supertux.git] / src / trigger / secretarea_trigger.h
index 945c061..0dba229 100644 (file)
@@ -1,3 +1,22 @@
+//  $Id$
+// 
+//  SuperTux
+//  Copyright (C) 2005 Matthias Braun <matze@braunis.de>
+//
+//  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.
 #ifndef __SECRETAREA_TRIGGER_H__
 #define __SECRETAREA_TRIGGER_H__
 
 #include "serializable.h"
 #include "resources.h"
 #include "video/drawing_context.h"
-#include "app/globals.h"
 #include "timer.h"
 
 class SecretAreaTrigger : public TriggerBase, public Serializable
 {
 public:
-  SecretAreaTrigger(LispReader& reader);
-  SecretAreaTrigger(const Vector& pos);
+  SecretAreaTrigger(const lisp::Lisp& reader);
+  SecretAreaTrigger(const Rect& area);
   ~SecretAreaTrigger();
  
-  void write(LispWriter& writer);
+  void write(lisp::Writer& writer);
   void event(Player& player, EventType type);
   void draw(DrawingContext& context);