Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <SDL.h>
- #include "Entity.h"
- using namespace std;
- class Car : public Entity
- {
- public:
- Car(int cx = 0, int cy = 0, SDL_Surface* ccarimage = NULL);
- friend ostream& operator<<(ostream& os, const Car car);
- void render(SDL_Surface* screenSurface = NULL);
- private:
- SDL_Surface* carimage;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement