示例#1
0
 public MapView(GameView parent, GameMap map, int width, int height, Minestory game)
     : base(parent)
 {
     mapTemplate = map;
     Width       = width;
     Height      = height;
     Media.AddSong("audio/songs/game_theme_0");
     Media.AddSound("audio/sounds/numb_revealed");
     Media.AddSound("audio/sounds/mine_revealed");
     // Init(); // called automatically after added to a manager
 }
示例#2
0
 public MainMenuView(Minestory game) : base(game)
 {
     Media.AddSong("audio/songs/menu_theme_0");
     // Media.AddSong("audio/songs/menu_theme_1");
     // Init(); // called automatically after added to a manager
 }