#ifndef PHYSICS_H #define PHYSICS_H #include "GameObject.h" #include class Physics { private: double gravity; list objects; list::iterator i; public: Physics(void); void ApplyPhysics(GameObject*); void UpdatePhysics(int); bool RectangleIntersect(SDL_Rect, SDL_Rect); Vector2X CheckCollisions(Vector2X, GameObject*); }; #endif // PHYSICS_H