public Rect2d GetOffsetBox(int window_width, int window_height) { Rect2d result = new Rect2d(Value, window_width, window_height); result.TrimNorth(Block.BLOCK_HEIGHT * 2); result.TrimEast(Block.BLOCK_WIDTH * 8); result.TrimSouth(Block.BLOCK_HEIGHT * 2 + Player.PLAYER_HEIGHT / 2.0); result.TrimWest(Block.BLOCK_WIDTH * 8); return(result); }