Khaligufzel / Dimensionfall

A survival game inspired by Cataclysm: Dark Days Ahead and Bright Nights.
GNU General Public License v3.0
16 stars 7 forks source link

Update Mob ai #436

Closed snipercup closed 2 weeks ago

snipercup commented 3 weeks ago

Requires #435

This pr does three things:

  1. Refactor the state machine so the states are created by the state machine instead of the mob itself
  2. Adds a "dash" move for mobs, I only applied it to one mob now. This move allows the mob to move twice as fast for a small amount of time.
  3. Adds mobs to the city_square map