Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdlib.h>
- #include <time.h>
- ...
- void loadMedia() {
- // Seed random number generator
- srand(time(NULL));
- // Init zombie
- zombieTexture = loadTexture("assets/zombie.png");
- spawnZombie();
- }
Add Comment
Please, Sign In to add comment