예제 #1
0
            // ![](330E21079BE9A11BBF50634E3F861264.png)
            public static int GetBaseColorIndex(string id)
            {
                CreatureBoardAsset creatureBoardAsset = GetCreatureBoardAsset(id);

                if (creatureBoardAsset == null)
                {
                    return(0);
                }
                return(creatureBoardAsset.GetBaseColorIndex());
            }
예제 #2
0
        void SaveOwnerDetails(CreatureBoardAsset owner)
        {
            if (Guard.IsNull(owner, "owner"))
            {
                return;
            }

            lastGroupPosition = owner.PlacedPosition;
            baseColorIndex    = owner.GetBaseColorIndex();
            isFlying          = owner.IsFlying;
        }