summaryrefslogtreecommitdiff
path: root/Penguloon/ContentManager.cs
diff options
context:
space:
mode:
authoraldrikboy <aldrikboy@gmail.com>2018-01-02 17:13:32 +0100
committeraldrikboy <aldrikboy@gmail.com>2018-01-02 17:13:32 +0100
commit0c58f5048e37ad40c68f56f3dc7756d60816cc0e (patch)
treed64e3d12f4994d2b2c0f4bd9d0c2c74611289b04 /Penguloon/ContentManager.cs
parentc3c4f2c7617c393ad6e8c7f1d87abf4a9a8cf602 (diff)
fanboi & chumchum
Diffstat (limited to 'Penguloon/ContentManager.cs')
-rw-r--r--Penguloon/ContentManager.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/Penguloon/ContentManager.cs b/Penguloon/ContentManager.cs
index e7077f8..561eead 100644
--- a/Penguloon/ContentManager.cs
+++ b/Penguloon/ContentManager.cs
@@ -135,6 +135,29 @@ namespace Penguloon
return null;
}
+ public static Texture2D GetSandTileTextureByType(int type)
+ {
+ switch (type)
+ {
+ case 0:
+ return GetTexture("Tiles/sand");
+ case 1:
+ return GetTexture("Tiles/sandCornerLeftDown");
+ case 2:
+ return GetTexture("Tiles/sandCornerLeftTop");
+ case 3:
+ return GetTexture("Tiles/sandCornerRightDown");
+ case 4:
+ return GetTexture("Tiles/sandCornerRightTop");
+ case 5:
+ return GetTexture("Tiles/sandHorizontal");
+ case 6:
+ return GetTexture("Tiles/sandVertical");
+ }
+
+ return null;
+ }
+
public static void DisposeContent()
{
foreach (var entry in TextureDictionary)