Adding a map creation plugin #57

Merged
CoCo_Sol merged 39 commits from map-generation into main 2024-02-21 20:10:03 +00:00
Showing only changes of commit 4b1f7008fd - Show all commits

View file

@ -248,8 +248,8 @@ impl<T: Number> HexPosition<T> {
/// # Example
///
/// ```no_run
/// use border_wars::map::hex::HexPosition;
/// use bevy::math::Vec2;
/// use border_wars::map::hex::HexPosition;
///
/// let position = HexPosition(1, 0);
/// assert_eq!(position.to_pixel_coordinates(), (3f32.sqrt(), 0.0).into());