public static _tileRect ( Vector2 coords, bool tall = false ) : |
||
coords | Vector2 | |
tall | bool | |
return |
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);
}