private void AddPterodactyl() { Pterodactyl ptero = new Pterodactyl(); ptero.LoadContent(this.contentManager); this.enemies.Add(ptero); }
public Egg(Vector2 _position, Texture2D _texture, Pterodactyl _owner) { this.Position = _position; this.Texture = _texture; this.Color = Color.White; this.owner = _owner; this.Damage = 30; //this.AnimationsDict = new Dictionary<string, Animation> { // {"Spinning", // new Animation(this.Texture,6,0.1f,Animation.Interruptible) // } //}; currentAnimation = this.AnimationsDict["Spinning"]; }