using System; using System.Diagnostics; namespace SpaceInvaders { public abstract class Shields : Leaf { //------------------------------------------------------------------- // FIELDS //------------------------------------------------------------------- public enum ShieldType { Root, Grid, Column, Brick, Left_Top0, Left_Top1, Left_Bottom, Right_Top0, Right_Top1, Right_Bottom, Uninitialized } protected ShieldType shieldType; //------------------------------------------------------------------- // CONSTRUCTION //------------------------------------------------------------------- public Shields(GameObject.ObjectName objName, Sprite.SpriteName spriteName, float x, float y, ShieldType shieldType) : base(objName, spriteName, x, y) { this.shieldType = shieldType; } //------------------------------------------------------------------- // PUBLIC METHODS //------------------------------------------------------------------- public override void Ressurect() { base.Ressurect(); } } }