Skip to content

Commit 0f0ff3f

Browse files
committed
Update robot-minigame index exports
1 parent d799e80 commit 0f0ff3f

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

src/bundles/robot_minigame/functions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export function init(
140140
* @param isCollidable a boolean indicating if the area is a collidable obstacle or not
141141
* @param flags any additional flags the area may have
142142
*/
143-
export function create_wall(
143+
export function create_area(
144144
vertices: List,
145145
isCollidable: boolean,
146146
flags: AreaFlags
@@ -351,7 +351,7 @@ export function turn_right() {
351351
/**
352352
*
353353
*/
354-
export function areasEntered(
354+
export function enteredAreas(
355355
check : (area : Area[]) => void
356356
) : boolean {
357357
// TO BE IMPLEMENTED

src/bundles/robot_minigame/index.ts

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,8 @@
99
*/
1010

1111
export {
12-
init,
13-
set_pos,
14-
set_rotation,
15-
set_rect_wall,
16-
set_polygon_wall,
17-
move_forward,
18-
sensor,
19-
move_forward_to_wall,
20-
turn_left,
21-
turn_right,
22-
rotate_right,
23-
rotate_left,
24-
getX,
25-
getY
12+
init, create_area,
13+
get_distance, get_flags, get_color,
14+
move_forward, move_forward_to_wall, rotate, turn_left, turn_right,
15+
enteredAreas
2616
} from './functions';

0 commit comments

Comments
 (0)