コード例 #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;
        }