# Load base scene Crafty.scene "Battle" # Testing some entities Crafty.sprite 480, 670, '//www.fftcgmognet.com/images/cards/hd/1/1/107.jpg', shantotto: [ 0 0 ] card = Crafty.e 'shantotto, AllyCard' .attr { x: 0 y: 0 } .bind 'DoubleClick', -> @destroy() return Crafty.e 'shantotto, AllyCard' .place 300, 0 Crafty.e 'shantotto, AllyCard' .place 600, 0 Crafty.e 'shantotto, EnemyCard' .place 900, 0