FiE-Game/src/Fie/Scene/FieSceneBase.cs
2023-07-19 15:41:59 +01:00

20 lines
433 B
C#

using System;
namespace Fie.Scene
{
[FieSceneLink(FieConstValues.DefinedScenes.UNDEFINED, FieSceneType.UNDEFINED)]
public abstract class FieSceneBase
{
public FieSceneLink GetSceneLinkInfo()
{
FieSceneLink fieSceneLink = (FieSceneLink)Attribute.GetCustomAttribute(GetType(), typeof(FieSceneLink));
if (fieSceneLink != null)
{
return fieSceneLink;
}
return null;
}
public abstract void StartUp();
}
}