Fix get_plank()
[?]
Nov 19, 2020, 8:21 PM
DBIA6R5X4LFELIDAIYAB4HRVZNVQQRH4HVFNCAMTP3TH26YVOUJACDependencies
- [2]
ZJPL7VNQSeparate planks from main - [3]
VSG6UWDYCan now build floors - [4]
C5VVJ5SOPrint how many rows - [5]
USO5PZWOStart with the print function, separate mutable and immutable functions
Change contents
- replacement in src/floor.rs at line 113
/// Get the number of plank rows for this floorpub fn rows_count(&self) -> usize {self.planks.len()/// Get the number of planks for this floorpub fn planks_count(&self) -> u32 {self.planks.len() as u32