{ start_init(300,300); var wall = []; wall.push(Crafty.e("Wall").wall(240,0,10,250)); //wall.push(Crafty.e("Wall").wall(0,240,240,10)); wall.push(Crafty.e("Wall").wall(0,0,10,240)); wall.push(Crafty.e("Wall").wall(10,0,230,10)); var cur_sel; var player={}; player["Gesina"]=(new Player({"pname":"Gesina", "cname":"Aknya", "class":"Zauberin", "level":0, "experience":0, "race":"Mensch", "size":2}, {"body":6, "agility":6, "spirit":8}, {"strength":0,"hardness":2,"movement":0,"skill":3,"mind":3,"aura":3}, {"x":40,"y":40,"w":40,"h":40,"col":"blue"})); // player.push(Crafty.e("Creature").player(40,40,40,40,'red')); player["HobGob1"]=(new Beast({"pname":"HobGob1", "experience":71, "race":"Hobgoblin", "size":2}, {"body":11, "agility":6, "spirit":3}, {"strength":2,"hardness":3,"movement":0,"skill":3,"mind":2,"aura":0}, {"x":90,"y":90,"w":30,"h":30,"col":"red"})); /*.push(Crafty.e("Creature").creature("Hobgob1",100,100,30,30,'red'));*/ end_init(); }