/// <summary> /// Loads and sets the player's specific content and settings. /// </summary> /// <param name="model">Model</param> /// <param name="position">Position</param> /// <param name="azimuth">Azimuth</param> /// <param name="worldTransform">The world transform matrix</param> public new void Load(Model model, PositionInTown position, double azimuth, Matrix worldTransform) { base.Load(model, position, azimuth, worldTransform); Content = new TownQuarterOwnerContent { AllyHumanModel = Game.Content.Load <Model>("Objects/Humans/botBlue"), FlagModel = Game.Content.Load <Model>("Objects/Decorations/flagBlue2"), RoadSignTexture = Game.Content.Load <Texture2D>("Textures/roadSignBlue"), ColorTexture = Game.Content.Load <Texture2D>("Textures/blue"), DrawingColor = System.Drawing.Color.Blue }; }
/// <summary> /// Loads and sets the opponent specific content and settings /// </summary> /// <param name="model">Model</param> /// <param name="position">Postion</param> /// <param name="azimuth">Azimuth</param> /// <param name="worldTransform">World transform matrix</param> public void Load(Model model, PositionInTown position, double azimuth, Matrix worldTransform) { base.Load(model, position, 0, azimuth, worldTransform); Content = new TownQuarterOwnerContent { AllyHumanModel = Game.Content.Load <Model>("Objects/Humans/botYellow"), FlagModel = Game.Content.Load <Model>("Objects/Decorations/flagYellow2"), RoadSignTexture = Game.Content.Load <Texture2D>("Textures/roadSignYellow"), ColorTexture = Game.Content.Load <Texture2D>("Textures/yellow"), DrawingColor = System.Drawing.Color.Yellow }; Running = true; }
/// <summary> /// Loads and sets the player's specific content and settings. /// </summary> /// <param name="model">Model</param> /// <param name="position">Position</param> /// <param name="azimuth">Azimuth</param> /// <param name="worldTransform">The world transform matrix</param> public new void Load(Model model, PositionInTown position, double azimuth, Matrix worldTransform) { base.Load(model, position, azimuth, worldTransform); Content = new TownQuarterOwnerContent { AllyHumanModel = Game.Content.Load<Model>("Objects/Humans/botBlue"), FlagModel = Game.Content.Load<Model>("Objects/Decorations/flagBlue2"), RoadSignTexture = Game.Content.Load<Texture2D>("Textures/roadSignBlue"), ColorTexture = Game.Content.Load<Texture2D>("Textures/blue"), DrawingColor = System.Drawing.Color.Blue }; }
/// <summary> /// Loads and sets the opponent specific content and settings /// </summary> /// <param name="model">Model</param> /// <param name="position">Postion</param> /// <param name="azimuth">Azimuth</param> /// <param name="worldTransform">World transform matrix</param> public void Load(Model model, PositionInTown position, double azimuth, Matrix worldTransform) { base.Load(model, position, 0, azimuth, worldTransform); Content = new TownQuarterOwnerContent { AllyHumanModel = Game.Content.Load<Model>("Objects/Humans/botYellow"), FlagModel = Game.Content.Load<Model>("Objects/Decorations/flagYellow2"), RoadSignTexture = Game.Content.Load<Texture2D>("Textures/roadSignYellow"), ColorTexture = Game.Content.Load<Texture2D>("Textures/yellow"), DrawingColor = System.Drawing.Color.Yellow }; Running = true; }