Guest User

Untitled

a guest
Dec 6th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. virtual void play () {
  2. VVC mapa(64,vector<CellType>(64));
  3. if (round() == 0) scan(mapa);
  4. mueve_coches(mapa); //primero mover coches
  5. mueve_guerreros(mapa);
  6. }
  7.  
  8. void scan(VVC& mapa) {
  9. for (int i = 0; i < 64; ++i) {
  10. for (int j = 0; j < 64; ++i) mapa[i][j] = cell(i,j).type;
  11. }
  12. }
Add Comment
Please, Sign In to add comment