2022-06-21 05:30:16 +02:00
|
|
|
local playerCount = 0
|
|
|
|
local p1IsBlue = false
|
|
|
|
|
2022-06-07 08:32:47 +02:00
|
|
|
local fps = 0
|
|
|
|
local deltaTime = 0
|
|
|
|
local isClear = { false, false }
|
|
|
|
local towerNightNum = 0
|
2023-01-24 09:30:22 +01:00
|
|
|
local battleState = 0
|
2022-06-07 08:32:47 +02:00
|
|
|
|
2022-06-21 05:30:16 +02:00
|
|
|
function setConstValues(_playerCount, _p1IsBlue)
|
|
|
|
playerCount = _playerCount
|
|
|
|
p1IsBlue = _p1IsBlue
|
|
|
|
end
|
|
|
|
|
2023-01-24 09:30:22 +01:00
|
|
|
function updateValues(_deltaTime, _fps, _isClear, _towerNightNum, _battleState)
|
2022-06-07 08:32:47 +02:00
|
|
|
deltaTime = _deltaTime
|
|
|
|
fps = _fps
|
|
|
|
isClear = _isClear
|
|
|
|
towerNightNum = _towerNightNum
|
|
|
|
deltaTime = _deltaTime
|
2023-01-24 09:30:22 +01:00
|
|
|
battleState = _battleState
|
2022-06-07 08:32:47 +02:00
|
|
|
end
|