Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct Jogador {
- int posx;
- int posy;
- int vidas;
- int municao;
- int facas;
- char direcao;
- double horadisparo;
- };
- struct Inimigo {
- int posx;
- int posy;
- int vivo; // vivo (1) ou morto (0).
- char direcao;
- double horamorte;
- Rectangle hitbox;
- };
- struct Bau {
- char conteudo; // tipo de item
- int posx;
- int posy;
- int estado; // aberto (1) ou fechado (0).
- int qnt; // quantidade de itens
- };
- struct Porta {
- int posx;
- int posy;
- int liberada; // trancada (0) ou aberta (1).
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement