示例#1
0
 //protected PlataformManager platManager;
 public BaseLevel(Game game)
     : base(game)
 {
     //platManager = new PlataformManager(Game);
     PlataformManager.Start(game);
     player = new Player(new Vector2(350, 0), game.Content.Load<Texture2D>("claudius"), new Vector2(4, 6));
     back = new Background(Vector2.Zero, Game.Content.Load<Texture2D>(@"Images/FundoGame"), Vector2.One, new Vector2(800, 600), false);
 }
示例#2
0
 public Menu(Game game)
     : base(game)
 {
     background = new Background(Vector2.Zero, Game.Content.Load<Texture2D>(@"Images/FundoMenu"),Vector2.One, new Vector2(800, 600),false);
     imgHelp = Game.Content.Load<Texture2D>(@"Images/Instruções");
     imgInicio = Game.Content.Load<Texture2D>(@"Images/Novo Jogo");
     imgRanking = Game.Content.Load<Texture2D>(@"Images/Ranking");
     imgExit = Game.Content.Load<Texture2D>(@"Images/Sair");
     imgHistory = Game.Content.Load<Texture2D>(@"Images/Novo Jogo");
     imgSurvive = Game.Content.Load<Texture2D>(@"Images/Novo Jogo");
 }
示例#3
0
 public Instructions(Game game)
     : base(game)
 {
     back = new Background(Vector2.Zero, Game.Content.Load<Texture2D>(@"Images/FundoInstrucao"), Vector2.One, new Vector2(800,600), false);
     voltar = new Background(new Vector2 (550, 500), Game.Content.Load<Texture2D>(@"Images/Voltar"), Vector2.One, new Vector2(270, 80),false);
 }
示例#4
0
 public Opening(Game game)
     : base(game)
 {
     // logo da escola
     back = new Background(Vector2.Zero, Game.Content.Load<Texture2D>(@"Images/FundoMenu"), Vector2.One, new Vector2(800,600), false);
 }