YeOldeDM / lets-godot-roguelike

A tutorials series on how to build a simple roguelike in the Godot Game Engine
MIT License
24 stars 5 forks source link

Player signal `map_pos_changed` #29

Open YeOldeDM opened 7 years ago

YeOldeDM commented 7 years ago

Whenever the player's Thing has its map pos set via its set_map_pos() function, emit the map_pos_changed signal.
The script in charge of drawing FOV will connect to this signal, and use it to update the map.