mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-02 18:21:12 +00:00
adding register for getPlayer and getPlayerRound
This commit is contained in:
@@ -132,12 +132,10 @@ end
|
||||
------ Update
|
||||
function Update(mapinfo)
|
||||
log("NEW FRAME")
|
||||
x = getDanger()
|
||||
p = getPath(0, 0, 16, 16);
|
||||
for i, c in ipairs(p) do
|
||||
print(c.x)
|
||||
print(c.y)
|
||||
end
|
||||
local dangerMap = getDanger()
|
||||
local path = getPath(0, 0, 16, 16);
|
||||
local player = getPlayer();
|
||||
local playerRound = getPlayerRound();
|
||||
---- sjould send Map Danger and MaxX MaxY
|
||||
--MaxX = 0
|
||||
--MaxY = 0
|
||||
|
||||
Reference in New Issue
Block a user