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
|
2023-02-15 01:27:05 +01:00
|
|
|
local isClear = { false, false, false, false, false }
|
2022-06-07 08:32:47 +02:00
|
|
|
local towerNightNum = 0
|
2023-01-24 09:30:22 +01:00
|
|
|
local battleState = 0
|
2023-02-22 09:24:21 +01:00
|
|
|
local battleWin = false
|
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-02-22 09:24:21 +01:00
|
|
|
function updateValues(_deltaTime, _fps, _isClear, _towerNightNum, _battleState, _battleWin)
|
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
|
2023-02-22 09:24:21 +01:00
|
|
|
battleWin = _battleWin
|
2022-06-07 08:32:47 +02:00
|
|
|
end
|