Big API refactor
This commit is contained in:
@@ -10,7 +10,7 @@ use std::collections::{BTreeMap, HashMap};
|
||||
use std::rc::Rc;
|
||||
|
||||
/// Builds a 3×3 board with the player at `(px, py)` and the given portals.
|
||||
fn make_board(px: i32, py: i32, portals: Vec<PortalDef>) -> Board {
|
||||
fn make_board(px: i64, py: i64, portals: Vec<PortalDef>) -> Board {
|
||||
Board {
|
||||
name: "test".into(),
|
||||
width: 3,
|
||||
|
||||
Reference in New Issue
Block a user