MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / usesPlaces

Method usesPlaces

source/game/StarDungeonGenerator.cpp:530–537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

528 }
529
530 bool Tile::usesPlaces() const {
531 if (brushes.size() == 0)
532 return false;
533 for (size_t i = 0; i < rules.size(); i++)
534 if (rules[i]->overdrawable())
535 return false;
536 return true;
537 }
538
539 bool Tile::modifiesPlaces() const {
540 return brushes.size() != 0;

Callers 3

generateMethod · 0.80
tileUsesPlacesMethod · 0.80
buildDungeonMethod · 0.80

Calls 2

sizeMethod · 0.45
overdrawableMethod · 0.45

Tested by

no test coverage detected