Colin McMillen
4 years ago
7 changed files with 76 additions and 75 deletions
-
4Shared/Debug.cs
-
8Shared/Player.cs
-
20Shared/Scene.cs
-
1Shared/Shared.projitems
-
7Shared/SneakGame.cs
-
45Shared/Textures.cs
-
66Shared/World.cs
@ -0,0 +1,45 @@ |
|||
using Microsoft.Xna.Framework.Content; |
|||
using Microsoft.Xna.Framework.Graphics; |
|||
|
|||
namespace SemiColinGames { |
|||
class Textures { |
|||
|
|||
public static Texture2D Player; |
|||
|
|||
public static Texture2D Background1; |
|||
public static Texture2D Background2; |
|||
|
|||
public static Texture2D Cemetery; |
|||
public static Texture2D Crypt; |
|||
public static Texture2D Dungeon; |
|||
public static Texture2D Forest; |
|||
public static Texture2D Garden; |
|||
public static Texture2D Grassland; |
|||
public static Texture2D Ruins; |
|||
public static Texture2D Sewer; |
|||
public static Texture2D Temple; |
|||
public static Texture2D Village; |
|||
|
|||
public static SpriteFont DebugFont; |
|||
|
|||
public static void Load(ContentManager content) { |
|||
Player = content.Load<Texture2D>("sprites/ccg/ninja_female"); |
|||
|
|||
Background1 = content.Load<Texture2D>("backgrounds/anokolisa/grassland_bg1"); |
|||
Background2 = content.Load<Texture2D>("backgrounds/anokolisa/grassland_bg2"); |
|||
|
|||
Cemetery = content.Load<Texture2D>("tiles/anokolisa/cemetery"); |
|||
Crypt = content.Load<Texture2D>("tiles/anokolisa/crypt"); |
|||
Dungeon = content.Load<Texture2D>("tiles/anokolisa/dungeon"); |
|||
Forest = content.Load<Texture2D>("tiles/anokolisa/forest"); |
|||
Garden = content.Load<Texture2D>("tiles/anokolisa/garden"); |
|||
Grassland = content.Load<Texture2D>("tiles/anokolisa/grassland"); |
|||
Ruins = content.Load<Texture2D>("tiles/anokolisa/ruins"); |
|||
Sewer = content.Load<Texture2D>("tiles/anokolisa/sewer"); |
|||
Temple = content.Load<Texture2D>("tiles/anokolisa/temple"); |
|||
Village = content.Load<Texture2D>("tiles/anokolisa/village"); |
|||
|
|||
DebugFont = content.Load<SpriteFont>("font"); |
|||
} |
|||
} |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue