/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { // Create a new SpriteBatch, which can be used to draw textures. spriteBatch = new SpriteBatch(GraphicsDevice); font = Content.Load <SpriteFont>("font"); //Load the content images needed for the oven, left and right wheels oven = new Oven(ovenPosition, Vector2.Zero, Vector2.Zero, 0.0f, Content.Load <Texture2D>("oven"), 6); leftWheel = new Wheel(leftWheelStartingPosition, Vector2.Zero, Vector2.Zero, WHEEL_STARTING_ROTATION, Content.Load <Texture2D>("wheel2"), CONTAINER_COUNT); rightWheel = new Wheel(rightWheelStartingPosition, Vector2.Zero, Vector2.Zero, WHEEL_STARTING_ROTATION, Content.Load <Texture2D>("wheel2"), CONTAINER_COUNT); }
/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { // Create a new SpriteBatch, which can be used to draw textures. spriteBatch = new SpriteBatch(GraphicsDevice); font = Content.Load <SpriteFont>("font"); // TODO: use this.Content to load your game content here oven = new Oven(OVEN_POSITION, Vector2.Zero, Vector2.Zero, 0.0f, Content.Load <Texture2D>("oven"), 6); leftWheel = new Wheel(LEFT_WHEEL_STARTING_POSITION, Vector2.Zero, Vector2.Zero, WHEEL_STARTING_ROTATION, Content.Load <Texture2D>("wheel2"), CONTAINER_COUNT); rightWheel = new Wheel(RIGHT_WHEEL_STARTING_POSITION, Vector2.Zero, Vector2.Zero, WHEEL_STARTING_ROTATION, Content.Load <Texture2D>("wheel2"), CONTAINER_COUNT); }
/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { // Create a new SpriteBatch, which can be used to draw textures. spriteBatch = new SpriteBatch(GraphicsDevice); font = Content.Load<SpriteFont>("font"); //Load the content images needed for the oven, left and right wheels oven = new Oven(ovenPosition, Vector2.Zero, Vector2.Zero, 0.0f, Content.Load<Texture2D>("oven"), 6); leftWheel = new Wheel(leftWheelStartingPosition, Vector2.Zero, Vector2.Zero, WHEEL_STARTING_ROTATION, Content.Load<Texture2D>("wheel2"), CONTAINER_COUNT); rightWheel = new Wheel(rightWheelStartingPosition, Vector2.Zero, Vector2.Zero, WHEEL_STARTING_ROTATION, Content.Load<Texture2D>("wheel2"), CONTAINER_COUNT); }
/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { // Create a new SpriteBatch, which can be used to draw textures. spriteBatch = new SpriteBatch(GraphicsDevice); font = Content.Load<SpriteFont>("font"); // TODO: use this.Content to load your game content here oven = new Oven(OVEN_POSITION, Vector2.Zero, Vector2.Zero, 0.0f, Content.Load<Texture2D>("oven"), 6); leftWheel = new Wheel(LEFT_WHEEL_STARTING_POSITION, Vector2.Zero, Vector2.Zero, WHEEL_STARTING_ROTATION, Content.Load<Texture2D>("wheel2"), CONTAINER_COUNT); rightWheel = new Wheel(RIGHT_WHEEL_STARTING_POSITION, Vector2.Zero, Vector2.Zero, WHEEL_STARTING_ROTATION, Content.Load<Texture2D>("wheel2"), CONTAINER_COUNT); }