Exemplo n.º 1
0
    public EnterableState CheckEnterableState()
    {
        if (MovementCost == 0)
        {
            return(EnterableState.No);
        }

        if (_installedObject != null && _installedObject._checkEnterableState != null)
        {
            return(_installedObject._checkEnterableState(_installedObject));
        }

        return(EnterableState.Yes);
    }