- [NEW] tilemap.new(x,y)
- [CHG] tilemap.new i tilemap.load alliberen la surface anterior (si hi havia) del mapa
This commit is contained in:
@@ -69,6 +69,11 @@ function surface.getPixel(x, y) end
|
||||
---@class tilemap
|
||||
tilemap = {}
|
||||
|
||||
---@param w number
|
||||
---@param h number
|
||||
---Create new map specifying width and height
|
||||
function tilemap.new(w, h) end
|
||||
|
||||
---@param filename string
|
||||
---@return number surface
|
||||
---Load a tilemap from a file and set it as current tilemap
|
||||
@@ -403,7 +408,7 @@ function window.setResolution(w, h) end
|
||||
config = {}
|
||||
|
||||
---@param key string
|
||||
---@param value string
|
||||
---@param value any
|
||||
---Sets the value of a key in the configuration file
|
||||
function config.setKey(key, value) end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user