<commit_before>/**
 * @fileoverview Matrix server side player class
 * @author Sebastien.Robaszkiewic<EMAIL>, <EMAIL>
 */
'use strict';

var Client = require('./ServerClient');

class Player extends Client {
	constructor(socket, place = null, position = null) {
    super(socket);

    this.place = place;

    this.privateState = {};
    this.publicState = {};
  }

  getInfo() {
    var playerInfo = {
      place: this.place,
      position: this.position,
      socketId: this.socket.id,
      state: this.publicState
    };
    
    return playerInfo;
  }
}
  

module.exports = Player;<commit_msg>- removed obsolete code<commit_after>/**
 * @fileoverview Matrix server side player class
 * @author Sebastien.Robaszkiewic<EMAIL>, <EMAIL>
 */
'use strict';

var Client = require('./ServerClient');

class Player extends Client {
	constructor(socket) {
    super(socket);

    this.place = null;
    this.privateState = {};
    this.publicState = {};
  }

  getInfo() {
    var playerInfo = {
      place: this.place,
      socketId: this.socket.id,
      state: this.publicState
    };
    
    return playerInfo;
  }
}
  
module.exports = Player;
{'fraction_non_alphanumeric': 0.13205907906168549, 'fraction_numerical': 0.0, 'mean_word_length': 2.891891891891892, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7629036', 'n_tokens_mistral': 365, 'n_tokens_neox': 354, 'n_words': 84}