Created
November 18, 2017 13:58
-
-
Save Mikepicker/d3559767dc4e1ac5f18dbf7327967064 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
#include <stdlib.h> | |
#include <time.h> | |
... | |
void loadMedia() { | |
// Seed random number generator | |
srand(time(NULL)); | |
// Init zombie | |
zombieTexture = loadTexture("assets/zombie.png"); | |
spawnZombie(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment