mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-05-22 00:37:01 +02:00
24 lines
557 B
C#
24 lines
557 B
C#
|
using MLEM.Data.Content;
|
|||
|
using MLEM.Startup;
|
|||
|
|
|||
|
namespace Tests {
|
|||
|
public class TestGame : MlemGame {
|
|||
|
|
|||
|
public RawContentManager RawContent { get; private set; }
|
|||
|
|
|||
|
private TestGame() {
|
|||
|
}
|
|||
|
|
|||
|
protected override void LoadContent() {
|
|||
|
base.LoadContent();
|
|||
|
this.RawContent = new RawContentManager(this.Services, this.Content.RootDirectory);
|
|||
|
}
|
|||
|
|
|||
|
public static TestGame Create() {
|
|||
|
var game = new TestGame();
|
|||
|
game.RunOneFrame();
|
|||
|
return game;
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|