<commit_before>config = require "./config.coffee"

Cuby = (game, pos) ->
  this.pos = pos;

  this.sprite = game.add.sprite(pos.x, pos.y, 'cuby')
  this.sprite.scale.setTo(config.spriteScale, config.spriteScale)

  game.physics.arcade.enable(this.sprite)

  this.sprite.body.velocity = new Phaser.Point(0, 0); # don't move by default

  this.fire = (direction) ->
    console.log "cuby fired"
    this.sprite.body.velocity = direction; # shoot it!

  this.trail = (color, time) ->
    console.log "should emit"

  return this

module.exports = Cuby
<commit_msg>cuby scaling<commit_after>config = require "./config.coffee"

Cuby = (game, pos) ->
  this.pos = pos;

  this.sprite = game.add.sprite(pos.x, pos.y, 'cuby')

  game.physics.arcade.enable(this.sprite)

  this.sprite.body.velocity = new Phaser.Point(0, 0); # don't move by default

  this.fire = (direction) ->
    console.log "cuby fired"
    this.sprite.body.velocity = direction; # shoot it!

  this.trail = (color, time) ->
    console.log "should emit"

  return this

module.exports = Cuby

{'fraction_non_alphanumeric': 0.14976303317535544, 'fraction_numerical': 0.0037914691943127963, 'mean_word_length': 3.345679012345679, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '4302464', 'n_tokens_mistral': 412, 'n_tokens_neox': 389, 'n_words': 83}