aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/PhysicsSystem.h
blob: cc13b7007b09cfbe8ffa1b07fa4318fe0d8492e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

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:
	/**
	 * Constructor is default
	 */
	PhysicsSystem() = default;
	/**
	 * \brief updates the physics system.
	 * 
	 * It calculates new velocties and changes the postion in the transform.
	 */
	void update();
};

} // namespace crepe