From 869c895ed42b2292b6eef32e41afb86dc196f766 Mon Sep 17 00:00:00 2001 From: SridharaQweebi <85789105+SridharaQweebi@users.noreply.github.com> Date: Wed, 18 Dec 2024 00:03:37 +0530 Subject: [PATCH] update api --- sim/api.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sim/api.ts b/sim/api.ts index ed4d0f49..7309e269 100644 --- a/sim/api.ts +++ b/sim/api.ts @@ -24,9 +24,6 @@ namespace pxsim.hare { export function onLand(handler: (height: number, more: number, most: number) => void) { } -} - -namespace pxsim.unity { //% blockId=helloUnity block="helloUnity" //% weight=100 @@ -39,6 +36,14 @@ namespace pxsim.unity { } } +namespace pxsim.unity { + + //% blockId=helloUnityNamespace block="helloUnity namespace" + export function helloUnityNamespace(){ + + } +} + namespace pxsim.turtle { /** * Moves the sprite forward