missing in bcf92585b56bd0d1717be1fc03f72e1dcc17a749
Dieser Commit ist enthalten in:
Ursprung
bcf92585b5
Commit
d120f3ed46
@ -37,6 +37,13 @@ constexpr uint8_t toMask(BlockSide side)
|
||||
return 1 << static_cast<uint8_t>(side);
|
||||
}
|
||||
|
||||
constexpr bool isDirectionTowardsSide(BlockTrainDirection direction, BlockSide side)
|
||||
{
|
||||
return
|
||||
(direction == BlockTrainDirection::TowardsA && side == BlockSide::A) ||
|
||||
(direction == BlockTrainDirection::TowardsB && side == BlockSide::B);
|
||||
}
|
||||
|
||||
CREATE_IMPL(BlockRailTile)
|
||||
|
||||
BlockRailTile::BlockRailTile(World& world, std::string_view _id) :
|
||||
|
||||
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren