Skip to content

Instantly share code, notes, and snippets.

@Mikepicker
Created November 17, 2017 17:49
Show Gist options
  • Save Mikepicker/cc4c3c6fbb675108c9362097fad8c87e to your computer and use it in GitHub Desktop.
Save Mikepicker/cc4c3c6fbb675108c9362097fad8c87e to your computer and use it in GitHub Desktop.
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;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment