Schematics editor wip
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// SPDX-FileCopyrightText: 2026 Paula Wisnievski
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
// tools for making the game from inside it. it depends on no mod, so it can be added to any game
|
||||
import type { ClientContext } from "cubi/client";
|
||||
import type { ServerContext } from "cubi/server";
|
||||
import { register_schematic_editor, register_schematic_editor_screen } from "./schematic_editor.ts";
|
||||
|
||||
export function server(ctx: ServerContext) {
|
||||
register_schematic_editor(ctx);
|
||||
}
|
||||
|
||||
export function client(ctx: ClientContext) {
|
||||
register_schematic_editor_screen(ctx);
|
||||
}
|
||||
Reference in New Issue
Block a user