mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-30 00:48:00 +01:00
21 lines
433 B
C#
21 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();
|
||
|
}
|
||
|
}
|