summaryrefslogtreecommitdiff
path: root/Penguloon/Objects/PenguinObject.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Penguloon/Objects/PenguinObject.cs')
-rw-r--r--Penguloon/Objects/PenguinObject.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Penguloon/Objects/PenguinObject.cs b/Penguloon/Objects/PenguinObject.cs
new file mode 100644
index 0000000..e035f70
--- /dev/null
+++ b/Penguloon/Objects/PenguinObject.cs
@@ -0,0 +1,16 @@
+using Microsoft.Xna.Framework;
+using Penguloon.Levels;
+
+namespace Penguloon.Objects
+{
+ class PenguinObject : ObjectBase
+ {
+ public PenguinObject(Vector2 position, Map map) : base(position, map)
+ {
+ this.Texture = ContentManager.GetTexture("Objects/penguin1");
+ this.TileSpanX = 1;
+ this.TileSpanY = 1;
+ this.Range = Map.TileWidth * 2;
+ }
+ }
+} \ No newline at end of file