diff --git a/star.js/js/star.js b/star.js/js/star.js index 6034aee..8e0a63e 100644 --- a/star.js/js/star.js +++ b/star.js/js/star.js @@ -14,13 +14,6 @@ var direction = { LEFT : 'l', RIGHT : 'r' }; -var css_classes = { - "@" : "ball", - "H" : "cube", - "#" : "wall", - " " : "void", - "x" : "gift" -}; var sprites = {}; var board_infos = {}; var options = { @@ -119,6 +112,7 @@ function display_on_canvas( state, canvas_elt ) { } } } + function format_infos( state ) { var infos = "