<commit_before>/*
 *  Interface.js
 *  2014/08/11
 *  @auther minimo  
 *  This Program is MIT license.
 */

(function() {

//パワーゲージ
tm.define("tds.PowerGauge", {
    superClass:  tm.display.CanvasElement,

    min: 0,
    max: 180,
    _value: 0,

    init: function() {
        this.superInit();
        this.alpha = 0;

    },

    update: function() {
        if (this.parent.level == 0 && this.parent.power == 0) {
            this.alpha-=0.05;
            if (this.alpha < 0.0)this.alpha = 0.0;
        } else {
            this.alpha+=0.05;
            if (this.alpha > 1.0)this.alpha = 1.0;
        }
    },
<commit_msg>correct gauge<commit_after>/*
 *  Interface.js
 *  2014/08/11
 *  @auther minimo  
 *  This Program is MIT license.
 */

(function() {

//パワーゲージ
tm.define("tds.PowerGauge", {
    superClass:  tm.display.CanvasElement,

    min: 0,
    max: 180,
    _value: 0,

    init: function() {
        this.superInit();
        this.alpha = 0;
        this.rotation = -90;
    },

    update: function() {
        if (this.parent.level == 0 && this.parent.power == 0) {
            this.alpha-=0.05;
            if (this.alpha < 0.0)this.alpha = 0.0;
        } else {
            this.alpha+=0.05;
            if (this.alpha > 1.0)this.alpha = 1.0;
        }
    },

{'fraction_non_alphanumeric': 0.16199376947040497, 'fraction_numerical': 0.048286604361370715, 'mean_word_length': 1.6440329218106995, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '301079', 'n_tokens_mistral': 517, 'n_tokens_neox': 470, 'n_words': 91}