<commit_before>﻿using Skylight.Miscellaneous;

namespace Skylight.Blocks
{
    public class PortalBlock : Block
    {
        private const int
            Minportalid = 0,
            Maxportalid = 99;

        private int
            _portalDestination = -1,
            _portalId = -1;

        private bool
            _visible;

        public PortalBlock(
            int x,
            int y,
            int direction,
            int portalId,
            int portalDestination,
            bool visible) : base(Tools.PortalIdByVisible(visible), x, y, 0)
        {
            PortalDestination = portalDestination;
            PortalId = portalId;
            Visible = visible;
        }<commit_msg>Direction of portal is now saved<commit_after>﻿using Skylight.Miscellaneous;

namespace Skylight.Blocks
{
    public class PortalBlock : Block
    {
        private readonly int _direction;

        private const int
            Minportalid = 0,
            Maxportalid = 99;

        private int
            _portalDestination = -1,
            _portalId = -1;

        private bool
            _visible;

        public PortalBlock(
            int x,
            int y,
            int direction,
            int portalId,
            int portalDestination,
            bool visible) : base(Tools.PortalIdByVisible(visible), x, y, 0)
        {
            _direction = direction;
            PortalDestination = portalDestination;
            PortalId = portalId;
            Visible = visible;
        }
{'fraction_non_alphanumeric': 0.061305207646671064, 'fraction_numerical': 0.007910349373764008, 'mean_word_length': 1.4483870967741936, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2464376', 'n_tokens_mistral': 392, 'n_tokens_neox': 391, 'n_words': 107}