Пример #1
0
 public override void PrepareDynamicAssets(AssetLoader loader, MachinaRuntime runtime)
 {
     // Assumes Content has a SpriteFont called "my-font"
     // Assumes Content has a Texture called "player-sprite"
     loader.AddMachinaAssetCallback("player", () => new GridBasedSpriteSheet("player-sprite", new Point(64, 64)));
 }