51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef CLIENTSIMPLEOBJECT_HEADER
-#define CLIENTSIMPLEOBJECT_HEADER
+#pragma once
#include "irrlichttypes_bloated.h"
class ClientEnvironment;
{
protected:
public:
- bool m_to_be_removed;
+ bool m_to_be_removed = false;
- ClientSimpleObject(): m_to_be_removed(false) {}
- virtual ~ClientSimpleObject(){}
- virtual void step(float dtime){}
-};
-
-#endif
+ ClientSimpleObject() = default;
+ virtual ~ClientSimpleObject() = default;
+ virtual void step(float dtime) {}
+};