// 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 #include namespace Ndk { /*! * \ingroup NDK * \class Ndk::System * \brief NDK class that represents a system which interacts on a world * * \remark This class is meant to be derived as CRTP: "System" */ /*! * \brief Constructs a System object by default */ template System::System() : BaseSystem(GetSystemIndex()) { } template System::~System() = default; /*! * \brief Registers the system by assigning it an index */ template SystemIndex System::RegisterSystem() { return GetNextIndex(); } }