mirror of
https://github.com/Febbweiss/sis.git
synced 2026-03-05 06:35:37 +00:00
Clean: remove logs
This commit is contained in:
@@ -102,7 +102,6 @@ function CornWeapon() {
|
|||||||
this.load = 1;
|
this.load = 1;
|
||||||
this.max_load = 1;
|
this.max_load = 1;
|
||||||
this.callback = function(shot) {
|
this.callback = function(shot) {
|
||||||
console.log( "CornWeapon.callback", this, shot );
|
|
||||||
var higherAlien = Math.max.apply( null,
|
var higherAlien = Math.max.apply( null,
|
||||||
$(".alien").map(function() {
|
$(".alien").map(function() {
|
||||||
return $(this).y();
|
return $(this).y();
|
||||||
@@ -114,7 +113,6 @@ function CornWeapon() {
|
|||||||
mediumAlien = (higherAlien + lowerAlien) / 2;
|
mediumAlien = (higherAlien + lowerAlien) / 2;
|
||||||
|
|
||||||
if( shot.y() < mediumAlien ) {
|
if( shot.y() < mediumAlien ) {
|
||||||
console.log( "KABOUM" );
|
|
||||||
shot.remove();
|
shot.remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user