LuaBox
Loading...
Searching...
No Matches
DisplayClear.h
Go to the documentation of this file.
1#pragma once
2
3#include "lua_include.h"
4#include "global.h"
5
11
12int DisplayClear(lua_State* L_)
13{
14 int c = luaL_optinteger(L_, 1, 0x0);
15
16 sprite.fillSprite(c);
17
18 return 0;
19}
int DisplayClear(lua_State *L_)
Clear the display sprite buffer to a given color.
Definition DisplayClear.h:12