Add grass biome and replace old grass with new plains
This commit is contained in:
1 parent
77999671b2
commit
0746aa5017
7 files changed
+192
-176
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -99,6 +99,8 @@ export class Arena {
|
||||
|
||||
getBiomeKey(): string {
|
||||
switch (this.biomeType) {
|
||||
case Biome.TOWN:
|
||||
return 'grass';
|
||||
case Biome.TALL_GRASS:
|
||||
return 'grass';
|
||||
case Biome.CITY:
|
||||
@@ -127,6 +129,7 @@ export class Arena {
|
||||
|
||||
getTypeForBiome() {
|
||||
switch (this.biomeType) {
|
||||
case Biome.TOWN:
|
||||
case Biome.PLAINS:
|
||||
return Type.NORMAL;
|
||||
case Biome.GRASS:
|
||||
@@ -199,6 +202,7 @@ export class Arena {
|
||||
|
||||
isDaytime(): boolean {
|
||||
switch (this.biomeType) {
|
||||
case Biome.TOWN:
|
||||
case Biome.PLAINS:
|
||||
case Biome.GRASS:
|
||||
case Biome.SEA:
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ const enableAuto = true;
|
||||
const quickStart = false;
|
||||
export const startingLevel = 5;
|
||||
export const startingWave = 1;
|
||||
export const startingBiome = Biome.PLAINS;
|
||||
export const startingBiome = Biome.TOWN;
|
||||
|
||||
export enum Button {
|
||||
UP,
|
||||
|
||||
+187
-175
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user