Add grass biome and replace old grass with new plains
parent
77999671b2
commit
0746aa5017
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 {
|
getBiomeKey(): string {
|
||||||
switch (this.biomeType) {
|
switch (this.biomeType) {
|
||||||
|
case Biome.TOWN:
|
||||||
|
return 'grass';
|
||||||
case Biome.TALL_GRASS:
|
case Biome.TALL_GRASS:
|
||||||
return 'grass';
|
return 'grass';
|
||||||
case Biome.CITY:
|
case Biome.CITY:
|
||||||
|
@ -127,6 +129,7 @@ export class Arena {
|
||||||
|
|
||||||
getTypeForBiome() {
|
getTypeForBiome() {
|
||||||
switch (this.biomeType) {
|
switch (this.biomeType) {
|
||||||
|
case Biome.TOWN:
|
||||||
case Biome.PLAINS:
|
case Biome.PLAINS:
|
||||||
return Type.NORMAL;
|
return Type.NORMAL;
|
||||||
case Biome.GRASS:
|
case Biome.GRASS:
|
||||||
|
@ -199,6 +202,7 @@ export class Arena {
|
||||||
|
|
||||||
isDaytime(): boolean {
|
isDaytime(): boolean {
|
||||||
switch (this.biomeType) {
|
switch (this.biomeType) {
|
||||||
|
case Biome.TOWN:
|
||||||
case Biome.PLAINS:
|
case Biome.PLAINS:
|
||||||
case Biome.GRASS:
|
case Biome.GRASS:
|
||||||
case Biome.SEA:
|
case Biome.SEA:
|
||||||
|
|
|
@ -24,7 +24,7 @@ const enableAuto = true;
|
||||||
const quickStart = false;
|
const quickStart = false;
|
||||||
export const startingLevel = 5;
|
export const startingLevel = 5;
|
||||||
export const startingWave = 1;
|
export const startingWave = 1;
|
||||||
export const startingBiome = Biome.PLAINS;
|
export const startingBiome = Biome.TOWN;
|
||||||
|
|
||||||
export enum Button {
|
export enum Button {
|
||||||
UP,
|
UP,
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue