From 4ae069581351b8712fd4647e9b902da1e3c9dbe3 Mon Sep 17 00:00:00 2001 From: aldrikboy Date: Sat, 13 Jan 2018 00:18:04 +0100 Subject: yikes --- Penguloon/Objects/KingPenguinObject.cs | 45 ++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Penguloon/Objects/KingPenguinObject.cs (limited to 'Penguloon/Objects/KingPenguinObject.cs') 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 -- cgit v1.2.3-70-g09d2