Gruppe22.Client.Mainmap._tileRect C# (CSharp) Method

_tileRect() public static method

public static _tileRect ( Vector2 coords, bool tall = false ) : Rectangle
coords Vector2
tall bool
return Microsoft.Xna.Framework.Rectangle
        public static Rectangle _tileRect(Vector2 coords, bool tall = false)
        {
            return new Rectangle((int)coords.X * 64 + ((int)coords.Y) * 64
                                    , (int)coords.Y * 48 - (int)coords.X * 48, 130, tall ? 194 : 98);
        }