Fix stuff

This commit is contained in:
2025-01-22 18:03:42 +01:00
parent 020985a1bb
commit 18581fca52
15 changed files with 358 additions and 131 deletions

View File

@@ -115,6 +115,10 @@ GameEngine = GameEngine
---@return nil
function GameEngine:setTitle(title) end
--- Gets the title of the window.
--- @return string # The title of the window.
function GameEngine:getName() end
--- Sets the width of the window.
--- @param width number # The new width.
--- @return nil
@@ -138,6 +142,10 @@ function GameEngine:setHeight(height) end
--- @return nil
function GameEngine:setFrameRate(frameRate) end
--- Quits the game
--- @return nil
function GameEngine:quit() end
--- Sets the drawing color
--- @param color Color # The new color.
--- @return nil
@@ -221,11 +229,19 @@ function GameEngine:isMouseLeftDown() end;
--- @return boolean # True if the right mouse button is pressed, false otherwise.
function GameEngine:isMouseRightDown() end;
--- Preform a Get Request
--- @param url string # The url to get.
--- @param data string # The data to get.
--- @return string # The response from the server.
function GameEngine:getRequest(url, data) end
--- overload without data
--- Preform a Get Request
--- @param url string # The url to get.
--- @return string # The response from the server.
function GameEngine:getRequest(url) end
--- Preform a Post Request
--- @param url string # The url to post.
--- @param data string # The data to post.