dot-move_enemy: Move The Enemy To The Player

.move_enemyR Documentation

Move The Enemy To The Player

Description

Move The Enemy To The Player

Usage

.move_enemy(room, dist, enemy_loc)

Arguments

room

Matrix. 2D room layout.

dist

Matrix. Tile distance to player.

enemy_loc

Numeric. Matrix index of the tile occupied by the enemy character.


matt-dray/r.oguelike documentation built on Jan. 9, 2023, 2:55 p.m.