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