AcademyRPG.Lumberjack.TryGather C# (CSharp) Méthode

TryGather() public méthode

public TryGather ( IResource resource ) : bool
resource IResource
Résultat bool
        public bool TryGather(IResource resource)
        {
            if (resource.Type == ResourceType.Lumber)
            {
                return true;
            }

            return false;
        }
    }