diff options
| author | aldrikboy <aldrikboy@gmail.com> | 2018-01-13 00:18:04 +0100 |
|---|---|---|
| committer | aldrikboy <aldrikboy@gmail.com> | 2018-01-13 00:18:04 +0100 |
| commit | 4ae069581351b8712fd4647e9b902da1e3c9dbe3 (patch) | |
| tree | 044e6a02a8836b725cf630feb597ef7d413cc951 /Penguloon/Objects/KingPenguinObject.cs | |
| parent | f93e133ede2a76be1aa20a33c9fcf01308cd6df8 (diff) | |
yikes
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 |
