mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
Moved menu files to be under /ui directory, added support for commands to Console!
This commit is contained in:
16
lib/ui/menus/main_menu.rb
Normal file
16
lib/ui/menus/main_menu.rb
Normal file
@@ -0,0 +1,16 @@
|
||||
class IMICFPS
|
||||
class MainMenu < Menu
|
||||
def setup
|
||||
title "I-MIC FPS"
|
||||
link "Single Player" do
|
||||
push_state(LoadingState.new(forward: Game))
|
||||
end
|
||||
link "Settings" do
|
||||
# push_game_state(SettingsMenu)
|
||||
end
|
||||
link "Exit" do
|
||||
window.close
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user