- Funció text()
This commit is contained in:
@@ -14,6 +14,19 @@ function _update()
|
|||||||
update()
|
update()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function text(txt,x,y,col)
|
||||||
|
color(6)
|
||||||
|
prnt(txt,x-1,y-1)
|
||||||
|
prnt(txt,x,y-1)
|
||||||
|
prnt(txt,x+1,y-1)
|
||||||
|
prnt(txt,x-1,y)
|
||||||
|
prnt(txt,x+1,y)
|
||||||
|
prnt(txt,x-1,y+1)
|
||||||
|
prnt(txt,x,y+1)
|
||||||
|
prnt(txt,x+1,y+1)
|
||||||
|
color(col)
|
||||||
|
prnt(txt,x,y)
|
||||||
|
end
|
||||||
|
|
||||||
function main_init()
|
function main_init()
|
||||||
set_update(menu_update)
|
set_update(menu_update)
|
||||||
|
|||||||
Reference in New Issue
Block a user