teren
This commit is contained in:
@@ -151,7 +151,7 @@ class TerrainSystem {
|
|||||||
|
|
||||||
// 1. STRANICE (Faces)
|
// 1. STRANICE (Faces)
|
||||||
// Left Face
|
// Left Face
|
||||||
const cLeft = 0x8B4513;
|
const cLeft = 0x8B4513; // RJAVA DIRT - Left face
|
||||||
graphics.fillStyle(cLeft);
|
graphics.fillStyle(cLeft);
|
||||||
graphics.beginPath();
|
graphics.beginPath();
|
||||||
graphics.moveTo(midX, bottomY);
|
graphics.moveTo(midX, bottomY);
|
||||||
@@ -164,7 +164,7 @@ class TerrainSystem {
|
|||||||
graphics.strokePath();
|
graphics.strokePath();
|
||||||
|
|
||||||
// Right Face
|
// Right Face
|
||||||
const cRight = 0x6B3410;
|
const cRight = 0x6B3410; // RJAVA DIRT - Right face (temnejša)
|
||||||
graphics.fillStyle(cRight);
|
graphics.fillStyle(cRight);
|
||||||
graphics.beginPath();
|
graphics.beginPath();
|
||||||
graphics.moveTo(xe, midY);
|
graphics.moveTo(xe, midY);
|
||||||
@@ -290,9 +290,9 @@ class TerrainSystem {
|
|||||||
else if (elevation > 0.85) terrainType = this.terrainTypes.STONE;
|
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) {
|
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
|
// City Override
|
||||||
|
|||||||
Reference in New Issue
Block a user