Terrain generation
This commit is contained in:
@@ -6,12 +6,12 @@ import { DebugSystem } from "$/client/systems/debug_system.ts";
|
||||
import { UIInteractionSystem } from "$/client/systems/ui_interaction_system.ts";
|
||||
import { UIRenderSystem } from "$/client/systems/ui_render_system.ts";
|
||||
import { create_main_menu } from "./main_menu.ts";
|
||||
import { ClickableSystem } from "./systems/clickable_system.ts";
|
||||
import { start_game } from "./game.ts";
|
||||
import { canvas, resize_canvas } from "./renderer/mod.ts";
|
||||
import { DimensionLogicSystem } from "./systems/dimension_logic.ts";
|
||||
import { Dimension } from "./components/dimension.ts";
|
||||
import { GuiRenderSystem, GuiTickSystem } from "./gui/gui_systems.ts";
|
||||
import { WorldGenerationSystem } from "./systems/world_generation_system.ts";
|
||||
|
||||
export class ClientWorld extends World {
|
||||
paused = false;
|
||||
@@ -39,9 +39,9 @@ export class ClientWorld extends World {
|
||||
this.add_system(new UIInteractionSystem(), "main_menu");
|
||||
this.add_system(new UIInteractionSystem(), "paused");
|
||||
this.add_system(new GuiTickSystem(), "game");
|
||||
this.add_system(new ClickableSystem(), "game");
|
||||
this.add_system(new PlayerControlsSystem(), "game");
|
||||
this.add_system(new MovementSystem(), "game");
|
||||
this.add_system(new WorldGenerationSystem(), "game");
|
||||
this.add_system(new DimensionLogicSystem(), "game");
|
||||
|
||||
// render systems
|
||||
|
||||
Reference in New Issue
Block a user