USO5PZWOGMYH6BUHQO3AQHDQBQ4EO27OSSAVPUWCUIZVFO3PNFJQC
C5VVJ5SOXXMIWNHCY4BLV5JOXDLDSFGP5QI7WWB74XIZ4JJMIBVAC
ZJPL7VNQEYASQ7QIUCR3X2IPWF5MAR6WX7VY6OWMRDMPJK7GYWIAC
VSG6UWDYMGCJHOVD5BI5UNAAYLVL6REAAJLI7OXUGCSXLJZTV36QC
2USDM5CH2K26B4DB5YEMVIT43NLY5PNQJZHW2HK2COXQZ75QTLOAC
ES2PMPT47CHTONTR7GAYXTU5LURMPC5W5BQ3YGOXMXT57NZHVHJQC
5TH3AA466T4JIICGT3LTLJ554X62KF36XZUXKR5MIAXVWAGQQHWQC
fn build_floor(mut floor: Floor) -> Floor {
fn floor_print(floor: Floor) -> () {
for row in floor.rows().iter() {
for plank in row.planks().iter() {
println!("plank: {:#?}", plank);
/*
if planklist[x].0 == ROOMLENGTH {
println!("|{:-^22}|", ROOMLENGTH);
} else {
// If x is odd
if planklist[x].0 == planklist[x].1 {
println!("|{:-^10}||{:-^10}|", planklist[x].0, planklist[x].1)
} else if planklist[x].0 < planklist[x].1 {
println!("|{:-^7}||{:-^13}|", planklist[x].0, planklist[x].1)
} else {
println!("|{:-^13}||{:-^7}|", planklist[x].0, planklist[x].1)
}
}
*/
}
}
println!();
println!("Lycka till!");
}
fn floor_build(mut floor: Floor) -> Floor {
/*
for x in 0..plankcount {
if planklist[x].0 == ROOMLENGTH {
println!("|{:-^22}|", ROOMLENGTH);
} else {
// If x is odd
if planklist[x].0 == planklist[x].1 {
println!("|{:-^10}||{:-^10}|", planklist[x].0, planklist[x].1)
} else if planklist[x].0 < planklist[x].1 {
println!("|{:-^7}||{:-^13}|", planklist[x].0, planklist[x].1)
} else {
println!("|{:-^13}||{:-^7}|", planklist[x].0, planklist[x].1)
}
}
}
println!();
println!("Lycka till!");
*/