This commit is contained in:
@@ -58,7 +58,6 @@ impl Card {
|
|||||||
result.field[current_field] = field;
|
result.field[current_field] = field;
|
||||||
current_field += 1;
|
current_field += 1;
|
||||||
}
|
}
|
||||||
for c in text.chars() {}
|
|
||||||
result
|
result
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
#![allow(dead_code)]
|
#![allow(dead_code)]
|
||||||
use std::default;
|
|
||||||
|
|
||||||
use crate::objective::Objective;
|
use crate::objective::Objective;
|
||||||
|
|
||||||
mod card;
|
mod card;
|
||||||
|
|||||||
@@ -100,8 +100,6 @@ impl Objective {
|
|||||||
0
|
0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Objective::Neighbors(items) => todo!(),
|
|
||||||
Objective::DistantNeighbors(items) => todo!(),
|
|
||||||
Objective::NInARow(icon, count) => {
|
Objective::NInARow(icon, count) => {
|
||||||
let mut bits = IconBitfield::from_painting(painting).get_icon_bits(*icon);
|
let mut bits = IconBitfield::from_painting(painting).get_icon_bits(*icon);
|
||||||
let bitmask = (1 << count) - 1;
|
let bitmask = (1 << count) - 1;
|
||||||
@@ -115,7 +113,10 @@ impl Objective {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
res_count
|
res_count
|
||||||
|
// Objective::Neighbors(items) => todo!(),
|
||||||
|
// Objective::DistantNeighbors(items) => todo!(),
|
||||||
}
|
}
|
||||||
|
_ => todo!(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
use crate::{CriteriaCard, icon_bitfield::IconBitfield, objective::Objective};
|
// use crate::{CriteriaCard, icon_bitfield::IconBitfield};
|
||||||
|
|
||||||
fn draw_painting(cards: &[IconBitfield], obj: Vec<(&CriteriaCard, u8)>) -> [usize; 3] {
|
// fn draw_painting(cards: &[IconBitfield], obj: Vec<(&CriteriaCard, u8)>) -> [usize; 3] {
|
||||||
todo!()
|
// todo!()
|
||||||
}
|
// }
|
||||||
|
|||||||
Reference in New Issue
Block a user