using Microsoft.Xna.Framework; using Penguloon.Levels; using Penguloon.Projectiles; using System.Collections.Generic; namespace Penguloon.Objects { public class GoldPenguinObject : ObjectBase { public GoldPenguinObject(Vector2 position, Map map) : base(position, map) { this.Texture = ContentManager.GetTexture("Objects/penguin2"); this.TileSpanX = 1; this.TileSpanY = 1; this.Range = Map.TileWidth * 2.5f; this.AttackSpeedMS = 500; this.infoText = map.Level.ParentScene.Main.Resources.GetString(Resource.String.ObjectGoldPenguin); } public GoldPenguinObject(Map map) : base(map) { this.Texture = ContentManager.GetTexture("Objects/penguin2"); this.TileSpanX = 1; this.TileSpanY = 1; this.Range = Map.TileWidth * 2.5f; this.AttackSpeedMS = 500; this.infoText = map.Level.ParentScene.Main.Resources.GetString(Resource.String.ObjectGoldPenguin); } public override void DrawUnique(float deltaTime) { } public override void UpdateUnique(float deltaTime) { } public override void SpawnUnique() { Projectiles.Add(new SnowballProjectile(this, this.Rotation)); } } }