Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct Survivor {
- float x, y;
- int w, h;
- float vX, vY;
- int scaleX, scaleY;
- int frameX, frameY;
- int animSpeed = 5;
- int speed = 3, jumpSpeed = 10;
- bool animCompleted = false;
- bool shot = false;
- std::string state;
- SDL_Texture* texture;
- };
Add Comment
Please, Sign In to add comment