<commit_before>/*
 Copyright (C) 2013-2014 by <NAME> and Contributors

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 */

///<reference path="../index.ts"/>

module dorkapon.components {

   declare var Graph:any;

   /**
    * These are currently hardcoded to specific tile set GID numbers that
    * correspond to the various connector graphics used to represent horizontal
    * and vertical paths.
    *
    * These specific textures are used to dynamically build paths between nodes.
    */
   export enum PathTiles {
      HORIZ_LEFT = 25,
      HORIZ_CENTER = 26,
      HORIZ_RIGHT = 27,
      VERT_TOP = 34,
      VERT_MIDDLE = 35,
      VERT_BOTTOM = 36
   }

   /**
    * These are hardcoded to specific tile set GID numbers that correspond to
    * the various types of nodes a player may land on.
    *
    * These specific textures are used to indicate metadata about the tile.
    */
   export enum NodeTiles {
      YELLOW = 54,
      RED = 63,
      BLUE = 72,
      GREEN = 71
   }

   /**
    * Enumerated path weights for use in input grid creation.
    */
   export enum PathWeights {
      CAN_REST = 1,
      CAN_WALK = 5,
      BLOCKED = 1000
   }

   /**
    * Describe where in the map a node tile exists, and what type it is.
    */
   export interface INodeTile extends pow2.IPoint {
      type:NodeTiles;
   }

   /**<commit_msg>design(PlayerPathComponent): make paths over nodes more weighted<commit_after>/*
 Copyright (C) 2013-2014 by <NAME> and Contributors

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 */

///<reference path="../index.ts"/>

module dorkapon.components {

   declare var Graph:any;

   /**
    * These are currently hardcoded to specific tile set GID numbers that
    * correspond to the various connector graphics used to represent horizontal
    * and vertical paths.
    *
    * These specific textures are used to dynamically build paths between nodes.
    */
   export enum PathTiles {
      HORIZ_LEFT = 25,
      HORIZ_CENTER = 26,
      HORIZ_RIGHT = 27,
      VERT_TOP = 34,
      VERT_MIDDLE = 35,
      VERT_BOTTOM = 36
   }

   /**
    * These are hardcoded to specific tile set GID numbers that correspond to
    * the various types of nodes a player may land on.
    *
    * These specific textures are used to indicate metadata about the tile.
    */
   export enum NodeTiles {
      YELLOW = 54,
      RED = 63,
      BLUE = 72,
      GREEN = 71
   }

   /**
    * Enumerated path weights for use in input grid creation.
    */
   export enum PathWeights {
      CAN_REST = 10,
      CAN_WALK = 5,
      BLOCKED = 1000
   }

   /**
    * Describe where in the map a node tile exists, and what type it is.
    */
   export interface INodeTile extends pow2.IPoint {
      type:NodeTiles;
   }

   /**
{'fraction_non_alphanumeric': 0.06939978563772776, 'fraction_numerical': 0.02116827438370847, 'mean_word_length': 2.599807135969142, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1363960', 'n_tokens_mistral': 1126, 'n_tokens_neox': 1011, 'n_words': 456}