AbstractFactory.EnemyShip.DisplayShip C# (CSharp) Method

DisplayShip() public method

public DisplayShip ( ) : void
return void
        public void DisplayShip()
        {
            Debug.Log (name + " is on the screen.");
        }

Usage Example

        public EnemyShip orderShip(ShipType type)
        {
            EnemyShip ship = MakeEnemyShip(type);

            ship.MakeShip();
            ship.DisplayShip();
            ship.FollowHeroShip();
            ship.Shoot();

            return(ship);
        }