FBClient.Core.Entities.Teleporter.Teleporter C# (CSharp) Method

Teleporter() public method

public Teleporter ( Point cellPosition ) : FBClient.Screens
cellPosition Microsoft.Xna.Framework.Point
return FBClient.Screens
        public Teleporter(Point cellPosition)
            : base(cellPosition)
        {
            var spriteTexture = FinalBomber.Instance.Content.Load<Texture2D>("Graphics/Sprites/teleporter");
            var animation = new Animation(2, 32, 32, 0, 0, 2);
            Sprite = new AnimatedSprite(spriteTexture, animation) { IsAnimating = true };

            _isAlive = true;
        }