gd_core/addons/core/screens/ScreenGenericDef.cs

24 lines
470 B
C#

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// D E R E L I C T
//
/// // (c) 2003..2024
using Godot;
using Microsoft.CodeAnalysis.CSharp.Syntax;
public partial class ScreenGenericDef<TSUBDEF, TEVT> : ScreenDef
where TSUBDEF : ScreenDef
where TEVT : ScreenGeneric<TSUBDEF>, new()
{
public ScreenGenericDef()
{
FnCreate = () => new TEVT { Def = this as TSUBDEF };
}
}