map.m_desY[i] = ty*(i%2);\r
map.m_pacOriX[i] = pacman.m_locX;\r
map.m_pacOriY[i] = pacman.m_locY;\r
- map.m_leftLives[i] = map.m_leftLevels[i] = 10;\r
- pacman.m_leftLives = pacman.m_leftLevels = 10;\r
+ map.m_leftLives[i] = map.m_leftLevels[i] = 60;\r
+ pacman.m_leftLives = pacman.m_leftLevels = 60;\r
map.m_pacmen[i] = pacman;\r
//System.printString("destination: " + map.desX[i] + "," + map.desY[i] + "\n");\r
}\r
map.m_deathcount = 0;\r
}\r
\r
- System.printString("Task Finish\n");\r
+ //System.printString("Task Finish\n");\r
}\r
}\r
map.m_desY[i] = ty*(i%2);
map.m_pacOriX[i] = pacman.m_locX;
map.m_pacOriY[i] = pacman.m_locY;
- map.m_leftLives[i] = map.m_leftLevels[i] = 10;
+ map.m_leftLives[i] = map.m_leftLevels[i] = 60;
+ pacman.m_leftLives = pacman.m_leftLevels = 60;
}
map.m_ghostcount = 0;
}
task finish(Map map{finish}) {
- System.printString("Task Finish\n");
+ //System.printString("Task Finish\n");
taskexit(map{!finish});
}
map.m_desY[i] = ty*(i%2);
map.m_pacOriX[i] = pacman.m_locX;
map.m_pacOriY[i] = pacman.m_locY;
- map.m_leftLives[i] = map.m_leftLevels[i] = 10;
- pacman.m_leftLives = pacman.m_leftLevels = 10;
+ map.m_leftLives[i] = map.m_leftLevels[i] = 60;
+ pacman.m_leftLives = pacman.m_leftLevels = 60;
//map.m_destinationX[i] = pacman.m_locX;
//map.m_destinationY[i] = pacman.m_locY;
}
}
task finish(Map map{finish}) {
- System.printString("Task Finish\n");
+ //System.printString("Task Finish\n");
taskexit(map{!finish});
-}
\ No newline at end of file
+}