refactor main game loop
This commit is contained in:
@ -31,6 +31,7 @@ find_package(nlohmann_json CONFIG REQUIRED)
|
||||
|
||||
set(TETRIS_SOURCES
|
||||
src/main.cpp
|
||||
src/app/TetrisApp.cpp
|
||||
src/gameplay/core/Game.cpp
|
||||
src/core/GravityManager.cpp
|
||||
src/core/state/StateManager.cpp
|
||||
@ -67,6 +68,7 @@ set(TETRIS_SOURCES
|
||||
src/states/PlayingState.cpp
|
||||
)
|
||||
|
||||
|
||||
if(APPLE)
|
||||
set(APP_ICON "${CMAKE_SOURCE_DIR}/assets/favicon/AppIcon.icns")
|
||||
if(EXISTS "${APP_ICON}")
|
||||
|
||||
Reference in New Issue
Block a user