コード例 #1
0
 /// <summary>
 /// loads the room specific sprites
 /// </summary>
 /// <param name="Content"></param>
 override public void LoadContent(ContentManager Content)
 {
     base.LoadContent(Content);
     Sprites.Add(1, Content.Load <Texture2D>("Room"));
     Sprites.Add(11, Content.Load <Texture2D>("RoomS"));
     Sprites.Add(0, Content.Load <Texture2D>("Star"));
 }
コード例 #2
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"));
 }
コード例 #3
0
ファイル: Cinema.cs プロジェクト: Johan070/Personal-profile
 /// <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"));
 }
コード例 #4
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"));
 }