{"size": 1384, "ext": "js", "max_stars_repo_path": "test/out/test.js", "max_stars_repo_name": "14081217/Canvas-api-test", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "test/out/test.js", "max_issues_repo_name": "14081217/Canvas-api-test", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test/out/test.js", "max_forks_repo_name": "14081217/Canvas-api-test", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.7555555556, "max_line_length": 79, "alphanum_fraction": 0.7398843931}
var canvas = document.getElementById("app");
var stage = engine.run(canvas);
var newMap = new MainMap();
newMap.x = 0;
newMap.y = 0;
stage.addChild(newMap);
var Character = new Player();
Character.x = 0;
Character.y = 0;
stage.addChild(Character);
var taskService = TaskService.getInstance();
var task_0 = TaskFactory.createOneTask("task_0");
var task_1 = TaskFactory.createOneTask("task_1");
var npc_0 = new NPC("npc_0", "npc_0.png");
npc_0.x = 128;
npc_0.y = 128;
stage.addChild(npc_0);
var npc_1 = new NPC("npc_1", "npc_1.png");
npc_1.x = 576;
npc_1.y = 576;
stage.addChild(npc_1);
var monster = MonsterFactory.createOneMonster("monster.png");
monster.x = 256;
monster.y = 256;
stage.addChild(monster);
var user = User.getInstance();
var hero = new Hero(10, 10);
var equipment = new Equipment(10, "w1.jpg");
var equipment1 = new Equipment(20, "w2.jpg");
var equipment2 = new Equipment(999, "w3.jpg");
var jewll = new Jewll(10);
var jewll1 = new Jewll(20);
var jewll2 = new Jewll(999);
user.addHero(hero);
hero.addEquipment(equipment);
hero.addEquipment(equipment1);
hero.addEquipment(equipment2);
equipment.addJewll(jewll);
equipment1.addJewll(jewll1);
equipment2.addJewll(jewll2);
var gameScene = new GameScene(Character, newMap, npc_0, npc_1, monster, stage);
GameScene.replaceScene(gameScene);
var UImanager = new UiManager(stage);
UiManager.replaceCurrentUiManager(UImanager);
