Exemplo n.º 1
0
    /// <summary>
    /// Check whether given Landable can land here.
    /// </summary>
    /// <returns>
    /// True if landing permission granted
    /// </returns>
    public bool RequestLanding(Landable landingObject)
    {
        Ship landingShip = landingObject.GetComponent<Ship>();
        if(landingShip == null)
            return false;

        ShipData data = landingShip.GetShipData();
        if(data == null)
            return false;

        return true;
    }