mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
Added extras menu, stubbed map editor, made asset viewer and map editor accessible from extras menu
This commit is contained in:
20
lib/ui/menus/extras_menu.rb
Normal file
20
lib/ui/menus/extras_menu.rb
Normal file
@@ -0,0 +1,20 @@
|
||||
class IMICFPS
|
||||
class ExtrasMenu < Menu
|
||||
def setup
|
||||
title "I-MIC FPS"
|
||||
subtitle "Extras"
|
||||
|
||||
link "Asset Viewer" do
|
||||
push_state(IMICFPS::AssetViewerTool::MainMenu)
|
||||
end
|
||||
|
||||
link "Map Editor" do
|
||||
push_state(IMICFPS::MapEditorTool::MainMenu)
|
||||
end
|
||||
|
||||
link "Back" do
|
||||
pop_state
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user