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

Method modifyTile

source/game/interfaces/StarWorld.cpp:79–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79bool World::modifyTile(Vec2I const& pos, TileModification const& modification, bool allowEntityOverlap) {
80 return applyTileModifications({{pos, modification}}, allowEntityOverlap).empty();
81}
82
83TileDamageResult World::damageTile(Vec2I const& tilePosition, TileLayer layer, Vec2F const& sourcePosition, TileDamage const& tileDamage, Maybe<EntityId> sourceEntity) {
84 return damageTiles({tilePosition}, layer, sourcePosition, tileDamage, sourceEntity);

Callers 7

enterStageMethod · 0.45
fireMethod · 0.45
spawnLiquidMethod · 0.45
destroyLiquidMethod · 0.45
setMaterialColorMethod · 0.45
placeMaterialMethod · 0.45
placeModMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected