Пример #1
0
 /// <summary>
 /// loads the sprites for undifined areas
 /// </summary>
 /// <param name="Content"></param>
 override public void LoadContent(ContentManager Content)
 {
     base.LoadContent(Content);
     Sprites.Add(1, Content.Load <Texture2D>("UndifinedArea"));
     Sprites.Add(11, Content.Load <Texture2D>("UndifinedArea"));
 }
Пример #2
0
 /// <summary>
 /// load the specific sprites for cinema
 /// </summary>
 /// <param name="Content"></param>
 override public void LoadContent(ContentManager Content)
 {
     base.LoadContent(Content);
     Sprites.Add(1, Content.Load <Texture2D>("Cinema"));
     Sprites.Add(11, Content.Load <Texture2D>("CinemaS"));
 }
Пример #3
0
 /// <summary>
 /// load the restaurant specific sprites
 /// </summary>
 /// <param name="Content"></param>
 override public void LoadContent(ContentManager Content)
 {
     base.LoadContent(Content);
     Sprites.Add(1, Content.Load <Texture2D>("Restaurant"));
     Sprites.Add(11, Content.Load <Texture2D>("RestaurantS"));
 }