world.core

active-entities

(active-entities)

all-entities

(all-entities)

cached-adjacent-cells

(cached-adjacent-cells cell)

cells->entities

(cells->entities cells)

circle->cells

(circle->cells circle)

circle->entities

(circle->entities circle)

delta-time

The game logic update delta-time. Different then gdx.graphics/delta-time because it is bounded by a maximum value for entity movement speed.

elapsed-time

The elapsed in-game-time (not counting when game is paused).

explored-tile-corners

finished-ratio

(finished-ratio {:keys [duration stop-time], :as counter})

get-entity

(get-entity id)

grid

GridCell

protocol

members

blocked?

(blocked? cell* z-order)

blocks-vision?

(blocks-vision? cell*)

nearest-entity

(nearest-entity cell* faction)

nearest-entity-distance

(nearest-entity-distance cell* faction)

occupied-by-other?

(occupied-by-other? cell* eid)

returns true if there is some occupying body with center-tile = this cell or a multiple-cell-size body which touches this cell.

ids->eids

init!

(init! tiled-map)

init-tiled-map

(init-tiled-map tm)

line-of-sight?

(line-of-sight? source target)

logic-frame

The game-logic frame number, starting with 1. (not counting when game is paused)

mouseover-eid

mouseover-entity

(mouseover-entity)

path-blocked?

(path-blocked? start target path-w)

path-w in tiles. casts two rays.

paused?

pf-cell-blocked?

(pf-cell-blocked? cell*)

player

point->entities

(point->entities position)

ray-blocked?

(ray-blocked? start target)

raycaster

rectangle->cells

(rectangle->cells rectangle)

reset

(reset {:keys [duration], :as counter})

stopped?

(stopped? {:keys [stop-time]})

tick!

(tick!)

tiled-map

timer

(timer duration)