summaryrefslogtreecommitdiff
path: root/src/client/clientsimpleobject.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2020-04-10 20:10:51 +0200
committerGitHub <noreply@github.com>2020-04-10 20:10:51 +0200
commit35e778ee9ff2e0e9ab096eaf2d1a903c5eaa42b3 (patch)
tree1a0383f505a661b29bb515bea0f8af436cf11642 /src/client/clientsimpleobject.h
parentf648fb76aef96a1da608c64346fc65d4dd44caa8 (diff)
downloadminetest-35e778ee9ff2e0e9ab096eaf2d1a903c5eaa42b3.tar.gz
minetest-35e778ee9ff2e0e9ab096eaf2d1a903c5eaa42b3.tar.bz2
minetest-35e778ee9ff2e0e9ab096eaf2d1a903c5eaa42b3.zip
Move clientsimpleobject.h to client folder (#9630)
This file is only called from client folder, retrieve its friends :)
Diffstat (limited to 'src/client/clientsimpleobject.h')
-rw-r--r--src/client/clientsimpleobject.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/client/clientsimpleobject.h b/src/client/clientsimpleobject.h
new file mode 100644
index 000000000..f4a40bcd3
--- /dev/null
+++ b/src/client/clientsimpleobject.h
@@ -0,0 +1,35 @@
+/*
+Minetest
+Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser 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.
+*/
+
+#pragma once
+
+#include "irrlichttypes_bloated.h"
+class ClientEnvironment;
+
+class ClientSimpleObject
+{
+protected:
+public:
+ bool m_to_be_removed = false;
+
+ ClientSimpleObject() = default;
+ virtual ~ClientSimpleObject() = default;
+
+ virtual void step(float dtime) {}
+};