#ifndef SIMS_HPP #define SIMS_HPP #include #include class Body { private: float x; float y; float vx = 1; float vy = 1; std::pair old_positions[100]; public: SDL_Renderer* renderer; Body(int x_pos, int y_pos); void draw_tail(); void live(); }; void two_bodies(SDL_Renderer* r, Body &a, Body &b); #endif