/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game1 game = new Game1()) { game.Run(); } }
public Chapter2b(Game1 game) { this.game = game; background = game.Content.Load<Texture2D>("images/broken hallway light"); lantern = game.Content.Load<Texture2D>("images/lantern"); //getout = game.Content.Load<SoundEffect>("Sounds/Get Out Sound"); }
public Text(Game1 game) { this.game = game; textbox = game.Content.Load<Texture2D>("images/Text Box"); z = game.Content.Load<Texture2D>("images/Z"); Font = game.Content.Load<SpriteFont>(@"font"); }
public StartScreen(Game1 game) { this.game = game; texture = game.Content.Load<Texture2D>("images/Code Lords"); select = game.Content.Load<Texture2D>("images/select"); binary = game.Content.Load<Texture2D>("images/binary"); lastState = Keyboard.GetState(); }
public Prologue(Game1 game) { this.game = game; texture = game.Content.Load<Texture2D>("images/Kurt Weaver IV ID"); binary = game.Content.Load<Texture2D>("images/Binary"); flash = game.Content.Load<Texture2D>("images/Flash"); cursor = game.Content.Load<Texture2D>("images/Cursor"); }
public Gameplay(Game1 game) { this.game = game; Kurt = game.Content.Load<Texture2D>("images/KURT SPREEDSHEET 2"); Stam = game.Content.Load<Texture2D>("images/Stamina"); Heal = game.Content.Load<Texture2D>("images/Health"); lantern = game.Content.Load<Texture2D>("images/lantern"); Health = 1000; Stamina = 1000; }
public Chapter1(Game1 game) { this.game = game; background = game.Content.Load<Texture2D>("images/GOD ROOM"); cop1 = game.Content.Load<Texture2D>("images/Cop1"); cop2 = game.Content.Load<Texture2D>("images/Cop2"); cop3 = game.Content.Load<Texture2D>("images/Cop3"); coppos1 = new Vector2(600, 900); coppos2 = new Vector2(500, 1000); coppos3 = new Vector2(500, 800); DoorText = new Rectangle(441, 580, 268, 39); EmailText = new Rectangle(653, 182, 121, 96); }
public Pause(Game1 game) { this.game = game; PauseScreen = game.Content.Load<Texture2D>("images/identity Pause"); select = game.Content.Load<Texture2D>("images/select"); }
public RandomRoom(Game1 game) { background = game.Content.Load<Texture2D>("images/S2"); toxicgas = game.Content.Load<Texture2D>("images/Toxic Gas"); this.game = game; }
public Music(Game1 game) { this.game = game; Theme = game.Content.Load<SoundEffect>("Sounds/Theme"); }
public JumpScare(Game1 game) { this.game = game; picture = game.Content.Load<Texture2D>("images/JumpScare1"); }
public Chapter2(Game1 game) { this.game = game; background = game.Content.Load<Texture2D>("images/Chapter 2"); Cop1 = game.Content.Load<Texture2D>("images/Cop Back Sprite Brown Hair"); }