NScumm.Scumm.ScummEngine.IsCostumeInUse C# (CSharp) Метод

IsCostumeInUse() приватный Метод

private IsCostumeInUse ( int cost ) : bool
cost int
Результат bool
        bool IsCostumeInUse(int cost)
        {
            int i;
            Actor a;

            if (_roomResource != 0)
                for (i = 1; i < Actors.Length; i++)
                {
                    a = Actors[i];
                    if (a.IsInCurrentRoom && a.Costume == cost)
                        return true;
                }

            return false;
        }
    }
ScummEngine