api docs
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
//! - `can_push(x, y, dir) -> bool` — is the pushable chain at `(x, y)` shovable in `dir`
|
||||
//! - `can_shift(x, y, dir) -> bool` — like `can_push`, but only checks the cell ahead
|
||||
//! - `passable(x, y) -> bool` — is `(x, y)` on-board and free of any solid (a hole)
|
||||
//! - `combinable(x1, y1, x2, y2) -> bool` — can the solids at the two cells share a
|
||||
//! cell (one empty, or a grab thing and the player)
|
||||
//!
|
||||
//! ## Self-reference API (`Me.*`)
|
||||
//!
|
||||
|
||||
Reference in New Issue
Block a user