Réordonne la liste des objets plaçables

This commit is contained in:
Mattéo Delabre 2016-04-21 00:37:53 +02:00
parent be6861907f
commit dd59bb2b45
1 changed files with 1 additions and 2 deletions

View File

@ -100,10 +100,9 @@ Toolbar::Toolbar(Editor& editor) : editor(editor) {
creators_table = sfg::Table::Create(); creators_table = sfg::Table::Create();
creators_table_pos_x = creators_table_pos_y = 0; creators_table_pos_x = creators_table_pos_y = 0;
addCreator("player", std::bind(&Toolbar::createPlayer, this));
addCreator("block", std::bind(&Toolbar::createBlock, this)); addCreator("block", std::bind(&Toolbar::createBlock, this));
addCreator("movable_block", std::bind(&Toolbar::createMovableBlock, this)); addCreator("movable_block", std::bind(&Toolbar::createMovableBlock, this));
addCreator("player", std::bind(&Toolbar::createPlayer, this));
addCreator("switch_block", std::bind(&Toolbar::createSwitchBlock, this)); addCreator("switch_block", std::bind(&Toolbar::createSwitchBlock, this));
addCreator("finish_block", std::bind(&Toolbar::createFinishBlock, this)); addCreator("finish_block", std::bind(&Toolbar::createFinishBlock, this));
addCreator("kill_block", std::bind(&Toolbar::createKillBlock, this)); addCreator("kill_block", std::bind(&Toolbar::createKillBlock, this));