diff options
Diffstat (limited to 'Penguloon/Objects/KingPenguinObject.cs')
| -rw-r--r-- | Penguloon/Objects/KingPenguinObject.cs | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Penguloon/Objects/KingPenguinObject.cs b/Penguloon/Objects/KingPenguinObject.cs new file mode 100644 index 0000000..721497b --- /dev/null +++ b/Penguloon/Objects/KingPenguinObject.cs @@ -0,0 +1,45 @@ +using Microsoft.Xna.Framework; +using Penguloon.Levels; +using Penguloon.Projectiles; +using System.Collections.Generic; + +namespace Penguloon.Objects +{ + public class KingPenguinObject : ObjectBase + { + public KingPenguinObject(Vector2 position, Map map) : base(position, map) + { + this.Texture = ContentManager.GetTexture("Objects/penguin3"); + this.TileSpanX = 2; + this.TileSpanY = 2; + this.Range = Map.TileWidth * 3.5f; + this.AttackSpeedMS = 100; + this.infoText = map.Level.ParentScene.Main.Resources.GetString(Resource.String.ObjectKingPenguin); + } + + public KingPenguinObject(Map map) : base(map) + { + this.Texture = ContentManager.GetTexture("Objects/penguin3"); + this.TileSpanX = 2; + this.TileSpanY = 2; + this.Range = Map.TileWidth * 3.5f; + this.AttackSpeedMS = 100; + this.infoText = map.Level.ParentScene.Main.Resources.GetString(Resource.String.ObjectKingPenguin); + } + + 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 |
