teren
This commit is contained in:
@@ -151,7 +151,7 @@ class TerrainSystem {
|
||||
|
||||
// 1. STRANICE (Faces)
|
||||
// Left Face
|
||||
const cLeft = 0x8B4513;
|
||||
const cLeft = 0x8B4513; // RJAVA DIRT - Left face
|
||||
graphics.fillStyle(cLeft);
|
||||
graphics.beginPath();
|
||||
graphics.moveTo(midX, bottomY);
|
||||
@@ -164,7 +164,7 @@ class TerrainSystem {
|
||||
graphics.strokePath();
|
||||
|
||||
// Right Face
|
||||
const cRight = 0x6B3410;
|
||||
const cRight = 0x6B3410; // RJAVA DIRT - Right face (temnejša)
|
||||
graphics.fillStyle(cRight);
|
||||
graphics.beginPath();
|
||||
graphics.moveTo(xe, midY);
|
||||
@@ -290,9 +290,9 @@ class TerrainSystem {
|
||||
else if (elevation > 0.85) terrainType = this.terrainTypes.STONE;
|
||||
}
|
||||
|
||||
// Farm Override
|
||||
// Farm Override - ZELENA PLATFORMA!
|
||||
if (Math.abs(x - FARM_CENTER_X) <= FARM_SIZE / 2 && Math.abs(y - FARM_CENTER_Y) <= FARM_SIZE / 2) {
|
||||
terrainType = this.terrainTypes.DIRT;
|
||||
terrainType = this.terrainTypes.GRASS_FULL; // ZELENA TRAVA!
|
||||
}
|
||||
|
||||
// City Override
|
||||
|
||||
Reference in New Issue
Block a user