Beispiel #1
0
        public SymbolsImage GetWorldImage(IImagesStorage storage)
        {
            if (!HasConnectedTile(0, 1) && !HasConnectedTile(1, 0))
            {
                return(animationsManager.GetImage(storage, ImageBottomRight));
            }

            if (!HasConnectedTile(0, 1))
            {
                return(animationsManager.GetImage(storage, ImageBottom));
            }

            if (!HasConnectedTile(1, 0))
            {
                return(animationsManager.GetImage(storage, ImageRight));
            }

            if (!HasConnectedTile(1, 1))
            {
                return(storage.GetImage(ImageCorner));
            }

            return(storage.GetImage(ImageNormal));
        }
Beispiel #2
0
 public SymbolsImage GetWorldImage(IImagesStorage storage)
 {
     return animationsManager.GetImage(storage, AnimationName);
 }
Beispiel #3
0
        public SymbolsImage GetWorldImage(IImagesStorage storage)
        {
            var animationName = GetAnimationName();

            return(animations.GetImage(storage, animationName));
        }
Beispiel #4
0
 protected override SymbolsImage GetRightEquippedImage(IImagesStorage storage)
 {
     return(animation.GetImage(storage, EquippedImageRight));
 }