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.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/Penguloon/Objects/PenguinObject.cs b/Penguloon/Objects/PenguinObject.cs
index 14ad30a..adbdc7e 100644
--- a/Penguloon/Objects/PenguinObject.cs
+++ b/Penguloon/Objects/PenguinObject.cs
@@ -1,5 +1,7 @@
using Microsoft.Xna.Framework;
using Penguloon.Levels;
+using Penguloon.Projectiles;
+using System.Collections.Generic;
namespace Penguloon.Objects
{
@@ -11,16 +13,22 @@ namespace Penguloon.Objects
this.TileSpanX = 1;
this.TileSpanY = 1;
this.Range = Map.TileWidth * 2;
+ this.AttackSpeedMS = 1000;
}
public override void DrawUnique(float deltaTime)
{
-
+
}
public override void UpdateUnique(float deltaTime)
{
-
+
+ }
+
+ public override void SpawnUnique()
+ {
+ Projectiles.Add(new SnowballProjectile(this, this.Rotation));
}
}
} \ No newline at end of file