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)); } } }