// Copyright (C) 2012 Jérôme Leclercq / Rémi Bèges // This file is part of the "Nazara Engine". // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef PHYSICSENTITY_HPP #define PHYSICSENTITY_HPP #include #include #include //#include #include "CollisionShape.hpp" class NzPhysicsWorld; class NzPhysicsEntity { public: NzPhysicsEntity(NzPhysicsWorld* world, const NzCollisionShape& shape, const NzVector3f& position, float mass); virtual void Init(); virtual ~NzPhysicsEntity(); protected: NzPhysicsWorld* m_world; NewtonBody* m_body; float m_mass; NzMatrix4f m_entityMatrix; private: }; #endif // PHYSICSENTITY_HPP