1
0

Remove log in terrain

This commit is contained in:
Victor 2014-03-13 13:48:48 +02:00
parent 88dc9fd92e
commit b607a033e2

View File

@ -5,7 +5,7 @@ import java.awt.Graphics;
import java.util.Random;
/**
*
* Destructible terrain.
* @author aNNiMON
*/
public class Terrain implements Constants {
@ -34,7 +34,6 @@ public class Terrain implements Constants {
public void destroyTerrain(int x) {
final int position = x / blockSize;
final int explosionSize = PLAYERS_BLOCK_COUNT / 2;
System.out.println(position);
if ( (position <= PLAYERS_BLOCK_COUNT) ||
(position >= blocksCount - PLAYERS_BLOCK_COUNT - 1) ) return;