Created
November 17, 2017 17:49
-
-
Save Mikepicker/cc4c3c6fbb675108c9362097fad8c87e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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