#include "marble.h" Marble::Marble(int radius, float thrust, float slowdown, SDL_Surface * screen) { KeyLeft = 0; KeyRight = 0; KeyUp = 0; KeyDown = 0; color = 0xffffff; radius = 10; thrust = thrust; slowdown = slowdown; screen = screen; XMov = 0; YMov = 0; XPos = screen->w / 2; YPos = screen->h / 2; }