mirror of
https://github.com/gwenhael-le-moine/c-urs_-toil-s.git
synced 2024-12-27 09:58:44 +01:00
remove unused css classes
This commit is contained in:
parent
e85db4362f
commit
f643329db4
1 changed files with 3 additions and 7 deletions
|
@ -14,13 +14,6 @@ var direction = {
|
||||||
LEFT : 'l',
|
LEFT : 'l',
|
||||||
RIGHT : 'r'
|
RIGHT : 'r'
|
||||||
};
|
};
|
||||||
var css_classes = {
|
|
||||||
"@" : "ball",
|
|
||||||
"H" : "cube",
|
|
||||||
"#" : "wall",
|
|
||||||
" " : "void",
|
|
||||||
"x" : "gift"
|
|
||||||
};
|
|
||||||
var sprites = {};
|
var sprites = {};
|
||||||
var board_infos = {};
|
var board_infos = {};
|
||||||
var options = {
|
var options = {
|
||||||
|
@ -119,6 +112,7 @@ function display_on_canvas( state, canvas_elt ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function format_infos( state ) {
|
function format_infos( state ) {
|
||||||
var infos = "<h1>Star5</h1><br />";
|
var infos = "<h1>Star5</h1><br />";
|
||||||
infos += "Level <em>" + (state.level+1) + "</em> of <em>" + levels.length + "</em><br />";
|
infos += "Level <em>" + (state.level+1) + "</em> of <em>" + levels.length + "</em><br />";
|
||||||
|
@ -285,6 +279,8 @@ function start_loop( state, elt, board_infos ) {
|
||||||
|
|
||||||
display_level( state, elt );
|
display_level( state, elt );
|
||||||
});
|
});
|
||||||
|
|
||||||
|
display_level( state, elt );
|
||||||
}
|
}
|
||||||
|
|
||||||
function initialize_a_star( elt ) {
|
function initialize_a_star( elt ) {
|
||||||
|
|
Loading…
Reference in a new issue