1
0
mirror of synced 2024-11-28 09:20:53 +01:00
OpenTaiko/Test/BGScriptAPI.lua
Takkkom dbf8dc9471
多人数プレイに対応 (#378)
* 多人数プレイに対応

* 不具合の修正
2023-02-15 09:27:05 +09:00

22 lines
532 B
Lua

local playerCount = 0
local p1IsBlue = false
local fps = 0
local deltaTime = 0
local isClear = { false, false, false, false, false }
local towerNightNum = 0
local battleState = 0
function setConstValues(_playerCount, _p1IsBlue)
playerCount = _playerCount
p1IsBlue = _p1IsBlue
end
function updateValues(_deltaTime, _fps, _isClear, _towerNightNum, _battleState)
deltaTime = _deltaTime
fps = _fps
isClear = _isClear
towerNightNum = _towerNightNum
deltaTime = _deltaTime
battleState = _battleState
end