adding register for getPlayer and getPlayerRound

This commit is contained in:
Bluub
2021-06-18 18:51:04 +02:00
parent 278cb9204f
commit 5565a15ab3
4 changed files with 46 additions and 6 deletions
+4 -6
View File
@@ -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