fn with_filler_entities(mut self) -> Self {
		while self.world.create_entity().build().id() < 3 {}

		self
	}
/// Add some dummy entities so that there are no players
/// with id 0, 1, or 2. This means that game modes don't
/// have to consider some non-obvious edge cases.
///
/// The edge cases are as follows:
/// - Having players with ids 1 or 2 in FFA causes errors
///   in the client (at least in StarMash) and also leads
///   to players having blue and red names in FFA.
/// - Having players with id 0 breaks collisions. The terrain
///   collision system assumes that there are no players
///   with id 0, so these players will be able to fly
///   through walls.
/// - Having players with id 0 makes all other players
///   using StarMash imitate the player with id 0.
///
/// At the moment this method is private since there isn't
/// really a case where it's *absolutely* necessary to be
/// able to create entities with these ids. It may become
/// public in the future if it can be designed in right.
Add some dummy entities so that there are no players
with id 0, 1, or 2. This means that game modes don't
have to consider some non-obvious edge cases.

The edge cases are as follows:
Having players with ids 1 or 2 in FFA causes errors
in the client (at least in StarMash) and also leads
to players having blue and red names in FFA.
Having players with id 0 breaks collisions. The terrain
collision system assumes that there are no players
with id 0, so these players will be able to fly
through walls.
Having players with id 0 makes all other players
using StarMash imitate the player with id 0.

At the moment this method is private since there isn't
really a case where it's *absolutely* necessary to be
able to create entities with these ids. It may become
public in the future if it can be designed in right.
Add some dummy entities so that there are no players with id 0 1 or 2 . This means that game modes don ' t have to consider some non - obvious edge cases . The edge cases are as follows : Having players with ids 1 or 2 in FFA causes errors in the client ( at least in StarMash ) and also leads to players having blue and red names in FFA . Having players with id 0 breaks collisions . The terrain collision system assumes that there are no players with id 0 so these players will be able to fly through walls . Having players with id 0 makes all other players using StarMash imitate the player with id 0 . At the moment this method is private since there isn ' t really a case where it ' s * absolutely * necessary to be able to create entities with these ids . It may become public in the future if it can be designed in right .
fn with_filler_entities(mut self) -> Self {
		while self.world.create_entity().build().id() < 3 {}
		self
	}
fn with_filler_entities ( mut self ) -> Self { while self . world . create_entity ( ) . build ( ) . id ( ) < 3 { } self }
Add some dummy entities so that there are no players
with id 0, 1, or 2.
Add some dummy entities so that there are no players with id 0 1 or 2 .
mut self
mut self