Example #1
0
        public AbsMahSignItem SetSign(MahSignType type, Anchor acnhor, bool state)
        {
            var item = GetSign(type);

            if (item == null)
            {
                item = CreateSign(type, acnhor);
                var sprite = GameCenter.Assets.GetSprite(type.ToString());
                item.SetSprite(sprite);
            }
            item.SetState(state);
            return(item);
        }