Fix stuff
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user