Exemplo n.º 1
0
        public void Untransform(PlayerTransformation transformation)
        {
            if (!ActiveTransformations.Contains(transformation.Definition))
            {
                return;
            }

            Untransform(transformation.Definition);
        }
Exemplo n.º 2
0
        public bool IsTransformed(TransformationDefinition definition)
        {
            for (int i = 0; i < ActiveTransformations.Count; i++)
            {
                if (ActiveTransformations.Contains(definition))
                {
                    return(true);
                }
            }

            return(false);
        }
Exemplo n.º 3
0
 public bool IsTransformedInto(TransformationDefinition transformation) => ActiveTransformations.Contains(transformation);