Files
NazaraEngine/src/NazaraSDK/EntityList.cpp
2020-02-24 18:23:30 +01:00

15 lines
411 B
C++

// Copyright (C) 2017 Jérôme Leclercq
// This file is part of the "Nazara Development Kit"
// For conditions of distribution and use, see copyright notice in Prerequisites.hpp
#include <NazaraSDK/EntityList.hpp>
#include <NazaraSDK/World.hpp>
namespace Ndk
{
const EntityHandle& EntityList::iterator::operator*() const
{
return m_list->GetWorld()->GetEntity(static_cast<EntityId>(m_nextEntityId));
}
}