<commit_before>//
// Created by dar on 11/25/15.
//

#ifndef C003_SIMPLEBLOCK_H
#define C003_SIMPLEBLOCK_H
#pragma once

#include "Block.h"

class Entity;

class SimpleBlock : public Block {

public:
    SimpleBlock(Map *map, int texPos, int x, int y) : Block(map, x, y), texPos(texPos) {
        if ((texPos >= 218 && texPos <= 223) ||
            ((texPos >= 234 && texPos <= 239) ||
             (texPos >= 250 && texPos <= 255))) {
            friction = 2.0;
        } else if ((texPos >= 240 && texPos <= 243)) {
            friction = 3.0;
        } else if (texPos == 245 || texPos == 246) {
            friction = 0.5;
        }
    };

    int getTexPos() const {
        return texPos;
    }
<commit_msg>Raised a friction on tiles<commit_after>//
// Created by dar on 11/25/15.
//

#ifndef C003_SIMPLEBLOCK_H
#define C003_SIMPLEBLOCK_H
#pragma once

#include "Block.h"

class Entity;

class SimpleBlock : public Block {

public:
    SimpleBlock(Map *map, int texPos, int x, int y) : Block(map, x, y), texPos(texPos) {
        if ((texPos >= 218 && texPos <= 223) ||
            ((texPos >= 234 && texPos <= 239) ||
             (texPos >= 250 && texPos <= 255))) {
            friction = 2.0;
        } else if ((texPos >= 240 && texPos <= 243)) {
            friction = 3.0;
        } else if (texPos == 245 || texPos == 246) {
            friction = 0.8;
        }
    };

    int getTexPos() const {
        return texPos;
    }

{'fraction_non_alphanumeric': 0.15246015246015246, 'fraction_numerical': 0.06652806652806653, 'mean_word_length': 1.977319587628866, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '4109623', 'n_tokens_mistral': 578, 'n_tokens_neox': 487, 'n_words': 142}