<commit_before>import Item from 'dimensions/item';
import Client from 'dimensions/client';
import PacketWriter from 'dimensions/packets/packetwriter';
import PacketTypes from 'dimensions/packettypes';
import Color from 'dimensions/color';

class Player {
	client: Client | null;
	id: number;
	name: string;
	inventory: Item[];
	life: number;
	mana: number;
	allowedNameChange: boolean;
	allowedCharacterChange: boolean;
	allowedLifeChange: boolean;
	allowedManaChange: boolean;

	// Visuals
	skinVariant: number;
	hair: number;
	hairDye: number;
	hideVisuals: number;
	hideVisuals2: number;
	hideMisc: number;
	hairColor: Color;
	skinColor: Color;
	eyeColor: Color;
	shirtColor: Color;<commit_msg>Add position to player<commit_after>import Item from 'dimensions/item';
import Client from 'dimensions/client';
import PacketWriter from 'dimensions/packets/packetwriter';
import PacketTypes from 'dimensions/packettypes';
import Color from 'dimensions/color';

class Player {
	client: Client | null;
	id: number;
	name: string;
	inventory: Item[];
	life: number;
	mana: number;
	allowedNameChange: boolean;
	allowedCharacterChange: boolean;
	allowedLifeChange: boolean;
	allowedManaChange: boolean;
	position: { x: number, y: number } = {
		x: 0,
		y: 0
	};

	// Visuals
	skinVariant: number;
	hair: number;
	hairDye: number;
	hideVisuals: number;
	hideVisuals2: number;
	hideMisc: number;
	hairColor: Color;
	skinColor: Color;
	eyeColor: Color;
	shirtColor: Color;
{'fraction_non_alphanumeric': 0.10465116279069768, 'fraction_numerical': 0.0027359781121751026, 'mean_word_length': 5.7110091743119265, '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': '2116261', 'n_tokens_mistral': 493, 'n_tokens_neox': 475, 'n_words': 139}