1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-22 12:58:33 +01:00

added instances to templates

This commit is contained in:
Ellpeck 2020-02-26 13:24:42 +01:00
parent 1bb2f6ddc3
commit 052b83bbf5
3 changed files with 18 additions and 0 deletions

View file

@ -3,5 +3,11 @@ using MLEM.Startup;
namespace TemplateNamespace { namespace TemplateNamespace {
public class GameImpl : MlemGame { public class GameImpl : MlemGame {
public static GameImpl Instance { get; private set; }
public GameImpl() {
Instance = this;
}
} }
} }

View file

@ -3,5 +3,11 @@ using MLEM.Startup;
namespace TemplateNamespace { namespace TemplateNamespace {
public class GameImpl : MlemGame { public class GameImpl : MlemGame {
public static GameImpl Instance { get; private set; }
public GameImpl() {
Instance = this;
}
} }
} }

View file

@ -3,5 +3,11 @@ using MLEM.Startup;
namespace TemplateNamespace { namespace TemplateNamespace {
public class GameImpl : MlemGame { public class GameImpl : MlemGame {
public static GameImpl Instance { get; private set; }
public GameImpl() {
Instance = this;
}
} }
} }