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

Method getLight

source/base/StarCellularLightArray.hpp:261–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259
260template <typename LightTraits>
261auto CellularLightArray<LightTraits>::getLight(size_t x, size_t y) const -> LightValue {
262 return cell(x, y).light;
263}
264
265template <typename LightTraits>
266bool CellularLightArray<LightTraits>::getObstacle(size_t x, size_t y) const {

Callers 1

calculateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected