using System; using System.Diagnostics; namespace SpaceInvaders { public abstract class Ships : Leaf { //------------------------------------------------------------------- // FIELDS //------------------------------------------------------------------- public enum ShipType { Ship, ShipRoot } Ships.ShipType shipType; //------------------------------------------------------------------- // CONSTRUCTION //------------------------------------------------------------------- protected Ships(GameObject.ObjectName objName, Sprite.SpriteName spriteName, float x, float y, Ships.ShipType type) : base(objName, spriteName, x, y) { this.shipType = type; } } //end class } //end namespace