ilja615 / ForrestGame

My roguelike turn-based survival game i make with java and LWJGL and xf8b also helps make it
GNU General Public License v3.0
8 stars 0 forks source link

Add a pathfinding algorithm that will effectively move AWAY from something (away from player) #16

Open ilja615 opened 2 years ago

ilja615 commented 2 years ago

This could then be used for creatures that are shy.

ilja615 commented 2 years ago

It should take input of World, and input of coordinateFrom

The world, it should detect this to see if locations are valid

Inspiration might need to be get from ShortPathFinder class, which is comparable, but opposite