Difference between revisions of "Team:Lanzhou"

Line 104: Line 104:
 
ctx2.save();
 
ctx2.save();
 
 
if (i%21 != 2 && i%21 != 5) {
+
if (i%21 != 2) {
ctx2.drawImage(light, 100, 30, 10, 10);
+
if (i%21 != 5) {
ctx2.drawImage(light, 70, 50, 10, 10);
+
ctx2.drawImage(light, 100, 30, 10, 10);
 +
ctx2.drawImage(light, 70, 50, 10, 10);
 +
}
 
}
 
}
if (i%21 != 5 && i%21 != 3){
+
if (i%21 != 5 ){
ctx2.drawImage(light, 100, 30, 10, 10);
+
if (i%21 != 3) {
ctx2.drawImage(light, 70, 50, 10, 10);
+
ctx2.drawImage(light, 100, 30, 10, 10);
ctx2.drawImage(light, 150, 50, 10, 10);
+
ctx2.drawImage(light, 70, 50, 10, 10);
 +
ctx2.drawImage(light, 150, 50, 10, 10);
 +
}
 
}
 
}
if(i%21 != 4 && i%21 != 3){
+
if(i%21 != 4){
ctx2.drawImage(light, 120, 90, 10, 10);
+
if (i%21 != 3) {
ctx2.drawImage(light, 150, 50, 10, 10);
+
ctx2.drawImage(light, 120, 90, 10, 10);
 +
ctx2.drawImage(light, 150, 50, 10, 10);
 +
}
 
}
 
}
 
 

Revision as of 02:31, 2 November 2017

Lanzhou

Lanzhou2017