From f922fe4669080d1633e0a345a3f8981867c9e841 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Fri, 3 Jun 2022 21:13:19 -0600 Subject: add working world gen, fixed food placing, minor refactoring --- src/event.gd | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/event.gd') diff --git a/src/event.gd b/src/event.gd index 7e72aca..054781f 100644 --- a/src/event.gd +++ b/src/event.gd @@ -1,11 +1,20 @@ extends Node +signal game_start +signal game_over + signal snake_path_new_point(coordinates) signal snake_adding_new_segment(type) signal snake_added_new_segment(type) signal snake_added_initial_segments signal snake_segment_body_entered(body) +signal snake_rotated signal food_placing_new_food(type) -signal food_placed_new_food(type) -signal food_eaten(type) \ No newline at end of file +signal food_placed_new_food(type, location) +signal food_eaten(type, location) + +signal world_gen_walker_started(id) +signal world_gen_walker_finished(id) +signal world_gen_walker_died(id) +signal world_gen_spawn_walker_unit(location) \ No newline at end of file -- cgit v1.2.3