|
|
|
@ -201,6 +201,12 @@ fn initialize_board(sprite_sheet: Option<Res<SpriteSheet>>, mut commands: Comman
|
|
|
|
/// JUST RE-DRAW ANY ENTITY WITH A CHANGED BoardIndex!!
|
|
|
|
/// JUST RE-DRAW ANY ENTITY WITH A CHANGED BoardIndex!!
|
|
|
|
/// INITIALIZE THE STARTING BOARD, THEN JUST UPDATE CHANGED BOARDINDEX!!!
|
|
|
|
/// INITIALIZE THE STARTING BOARD, THEN JUST UPDATE CHANGED BOARDINDEX!!!
|
|
|
|
/// GOD YOU ARE SO DUMB.
|
|
|
|
/// GOD YOU ARE SO DUMB.
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
/// OK so that won't quite work because we want the 2d/3d states to stay in sync.
|
|
|
|
|
|
|
|
/// We can figure some way of diffing the board though.
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
/// I mean we can still have a system that sets the location based on index changes.
|
|
|
|
|
|
|
|
/// But the index changes can be the _only_ change we make in the update_board method.
|
|
|
|
fn draw_board(
|
|
|
|
fn draw_board(
|
|
|
|
board: Option<Res<Board>>,
|
|
|
|
board: Option<Res<Board>>,
|
|
|
|
sprite_sheet: Option<Res<SpriteSheet>>,
|
|
|
|
sprite_sheet: Option<Res<SpriteSheet>>,
|
|
|
|
|