{"size": 567, "ext": "js", "max_stars_repo_path": "src/animation/enemiesAnims/KnightAnims.js", "max_stars_repo_name": "ashikmeerankutty/RPG-Solidity-Game", "max_stars_repo_stars_event_min_datetime": "2021-04-25T02:31:47.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-20T07:44:44.000Z", "max_issues_repo_path": "src/animation/enemiesAnims/KnightAnims.js", "max_issues_repo_name": "ashikmeerankutty/RPG-Solidity-Game", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/animation/enemiesAnims/KnightAnims.js", "max_forks_repo_name": "ashikmeerankutty/RPG-Solidity-Game", "max_forks_repo_forks_event_min_datetime": "2021-11-19T02:23:49.000Z", "max_forks_repo_forks_event_max_datetime": "2021-11-19T02:23:49.000Z"}
{"max_stars_count": 4, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 29.8421052632, "max_line_length": 122, "alphanum_fraction": 0.5731922399}
import Phaser from 'phaser';

export const createKnightAnims = (anims) => {
    anims.create({
        key: 'Knight-idle',
        frames: anims.generateFrameNames('Knight', { start: 0, end: 3, prefix: 'knight_f_idle_anim_f', suffix: '.png' }),
        repeat: -1,
        frameRate: 9
    })

    anims.create({
        key: 'Knight-run',
        frames: anims.generateFrameNames('Knight', { start: 0, end: 3, prefix: 'knight_f_run_anim_f', suffix: '.png' }),
        repeat: -1,
        frameRate: 9
    })
}

// module.exports = createLizardAnims