Add white room browsing mode
This commit is contained in:
parent
794b4dc162
commit
3c5e6daf06
4 changed files with 45 additions and 3 deletions
2
main.lua
2
main.lua
|
|
@ -194,6 +194,8 @@ function love.keypressed(key)
|
|||
elseif editorView ~= "world" and editorView ~= "wire" and Input.isPlayerSwitch(key) then
|
||||
local c = Input.playerColor(key)
|
||||
gameWorld:switchPlayerColor(currentRoom, c)
|
||||
elseif editorView ~= "world" and editorView ~= "wire" and gameWorld:browseRoom(currentRoom, key) then
|
||||
return
|
||||
end
|
||||
|
||||
-- if key == "w" then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue