#pragma once

#include "System.h"

namespace crepe {

/**
 * \brief System that controls all physics
 *
 * This class is a physics system that uses a rigidbody and transform to add physics to a game
 * object.
 */
class PhysicsSystem : public System {
public:
	using System::System;
	/**
	 * \brief updates the physics system.
	 *
	 * It calculates new velocties and changes the postion in the transform.
	 */
	void update() override;
};

} // namespace crepe