damn / moon

RPG Maker & Engine
MIT License
387 stars 13 forks source link

add-to-world check body valid position #58

Open damn opened 2 months ago

damn commented 2 months ago

components.world.grid/blocked? Define here for :z-order/effect/ & :z-order/items(on-ground) too

(blocked? [_ z-order]
    (case movement
      :none true
      :air (case z-order
             :z-order/flying false
             :z-order/ground true)
      :all false))