X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftrigger%2Fsequence_trigger.h;h=8eb9b3b1927244f7933ad78fafb4de345cb4e06d;hb=9e89407a97c5dfb035192387121e6102bc45a8fc;hp=35b86eb100af4c3b3b30c9b6de72449b45d0e4e8;hpb=d46c78c842ab4090a3f46e560c891234167f124b;p=supertux.git diff --git a/src/trigger/sequence_trigger.h b/src/trigger/sequence_trigger.h index 35b86eb10..8eb9b3b19 100644 --- a/src/trigger/sequence_trigger.h +++ b/src/trigger/sequence_trigger.h @@ -1,3 +1,23 @@ +// $Id$ +// +// SuperTux +// Copyright (C) 2005 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. + #ifndef __SEQUENCE_TRIGGER_H__ #define __SEQUENCE_TRIGGER_H__ @@ -7,11 +27,11 @@ class SequenceTrigger : public TriggerBase, public Serializable { public: - SequenceTrigger(LispReader& reader, const std::string& sequence); + SequenceTrigger(const lisp::Lisp& reader); SequenceTrigger(const Vector& pos, const std::string& sequence); ~SequenceTrigger(); - void write(LispWriter& writer); + void write(lisp::Writer& writer); void event(Player& player, EventType type); private: