mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
cleanup World references
This commit is contained in:
parent
ac00c561ee
commit
c73b036099
18 changed files with 45 additions and 45 deletions
|
|
@ -71,12 +71,12 @@ Level::Level(
|
|||
|
||||
Level::~Level() = default;
|
||||
|
||||
World* Level::getWorld() {
|
||||
return world.get();
|
||||
World& Level::getWorld() {
|
||||
return *world;
|
||||
}
|
||||
|
||||
const World* Level::getWorld() const {
|
||||
return world.get();
|
||||
const World& Level::getWorld() const {
|
||||
return *world;
|
||||
}
|
||||
|
||||
void Level::onSave() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue