- Comence a implementar el selector de plantilles

This commit is contained in:
2024-07-30 13:54:31 +02:00
parent b0dd34b5df
commit 1cd08b1110
6 changed files with 81 additions and 2 deletions

View File

@@ -270,6 +270,7 @@ namespace modules
if (editor::isEditing())
{
if (input::keyPressed(SDL_SCANCODE_TAB)) return GAME_EDITOR_MAP;
if (input::keyPressed(SDL_SCANCODE_GRAVE)) return GAME_EDITOR_TEMPLATES;
editor_move_selected();
actor::updateEditor(actor::getFirst());