spaceconquest.FighterShip.CreateShip C# (CSharp) Method

CreateShip() public method

public CreateShip ( ) : Ship
return Ship
        public override Ship CreateShip()
        {
            this.modelstring = "Fighter";
            this.speed = 3;
            this.range = 4;
            this.damage = 1;
            this.cost = 100;
            this.shield = 2;
            this.capacity = 0;
            this.buildTime = 2;

            Warship newship = new Warship(this);
            return newship;
        }