.move_enemy | R Documentation |
Move The Enemy To The Player
.move_enemy(room, dist, enemy_loc)
room |
Matrix. 2D room layout. |
dist |
Matrix. Tile distance to player. |
enemy_loc |
Numeric. Matrix index of the tile occupied by the enemy character. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.