AcademyRPG.Lumberjack.TryGather C# (CSharp) Метод

TryGather() публичный Метод

public TryGather ( IResource resource ) : bool
resource IResource
Результат bool
        public bool TryGather(IResource resource)
        {
            if (resource.Type == ResourceType.Lumber)
            {
                return true;
            }

            return false;
        }
    }