[Orxonox-commit 3400] r8087 - code/branches/spaceboundaries/src/orxonox/worldentities
kmaurus at orxonox.net
kmaurus at orxonox.net
Thu Mar 17 16:09:37 CET 2011
Author: kmaurus
Date: 2011-03-17 16:09:37 +0100 (Thu, 17 Mar 2011)
New Revision: 8087
Added:
code/branches/spaceboundaries/src/orxonox/worldentities/SpaceBoundaries.cc
code/branches/spaceboundaries/src/orxonox/worldentities/SpaceBoundaries.h
Log:
Grundgeruest aufgesetzt
Added: code/branches/spaceboundaries/src/orxonox/worldentities/SpaceBoundaries.cc
===================================================================
--- code/branches/spaceboundaries/src/orxonox/worldentities/SpaceBoundaries.cc (rev 0)
+++ code/branches/spaceboundaries/src/orxonox/worldentities/SpaceBoundaries.cc 2011-03-17 15:09:37 UTC (rev 8087)
@@ -0,0 +1,61 @@
+/*
+ * ORXONOX - the hottest 3D action shooter ever to exist
+ * > www.orxonox.net <
+ *
+ *
+ * License notice:
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * Author:
+ * Maurus Kaufmann
+ * Co-authors:
+ * ...
+ *
+ */
+
+#include "SpaceBoundaries.h"
+
+/* Folgender Block ist Copy-Paste und somit teilweise wohl unnoetig */
+#include "core/CoreIncludes.h"
+#include "core/Template.h"
+#include "core/XMLPort.h"
+#include "gametypes/Gametype.h"
+#include "worldentities/pawns/Pawn.h"
+
+/* Eigene, spezifische include-Statements*/
+
+namespace orxonox
+{
+ CreateFactory(SpaceBoundaries);
+
+ SpaceBoundaries::SpaceBoundaries(BaseObject* creator) : StaticEntity(creator)
+ {
+ RegisterObject(SpaceBoundaries);
+ }
+
+ SpaceBoundaries::~SpaceBoundaries()
+ {
+
+ }
+
+ void SpaceBoundaries::XMLPort(Element& xmlelement, XMLPort::Mode mode)
+ {
+ // SUPER(SpaceBoundaries, XMLPort, xmlelement, mode);
+
+ // XMLPortParam(SpaceBoundaries, "spawnclass", setSpawnClassName, getSpawnClassName, xmlelement, mode);
+ // XMLPortParam(SpaceBoundaries, "pawndesign", setTemplateName, getTemplateName, xmlelement, mode);
+ }
+}
Added: code/branches/spaceboundaries/src/orxonox/worldentities/SpaceBoundaries.h
===================================================================
--- code/branches/spaceboundaries/src/orxonox/worldentities/SpaceBoundaries.h (rev 0)
+++ code/branches/spaceboundaries/src/orxonox/worldentities/SpaceBoundaries.h 2011-03-17 15:09:37 UTC (rev 8087)
@@ -0,0 +1,57 @@
+/*
+ * ORXONOX - the hottest 3D action shooter ever to exist
+ * > www.orxonox.net <
+ *
+ *
+ * License notice:
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * Author:
+ * Maurus Kaufmann
+ * Co-authors:
+ * ...
+ *
+ */
+
+#ifndef _SpaceBoundaries_H__
+#define _SpaceBoundaries_H__
+
+/* Folgender Block ist Copy-Paste und somit teilweise wohl unnoetig */
+#include "OrxonoxPrereqs.h"
+#include <string>
+#include "core/SubclassIdentifier.h"
+#include "worldentities/StaticEntity.h"
+
+/* Einige, spezifische include-Statements */
+
+
+
+namespace orxonox
+{
+ class _OrxonoxExport SpaceBoundaries : public StaticEntity, public Tickable
+ {
+ public:
+ SpaceBoundaries(BaseObject* creator);
+ virtual ~SpaceBoundaries() {}
+
+ virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
+
+ private:
+
+ };
+}
+
+#endif /* _SpaceBoundaries_H__ */
More information about the Orxonox-commit
mailing list