LuaBox
Loading...
Searching...
No Matches
DisplayCircle.h
Go to the documentation of this file.
1#pragma once
2
3#include "lua_include.h"
4#include "global.h"
5
22
23int DisplayCircle(lua_State* L_)
24{
25 int x = luaL_checkinteger(L_, 1);
26 int y = luaL_checkinteger(L_, 2);
27 int r = luaL_checkinteger(L_, 3);
28 int c = luaL_checkinteger(L_, 4);
29
30 sprite.drawCircle(x, y, r, c);
31
32 return 0;
33}
int DisplayCircle(lua_State *L_)
Draw a circle on the sprite buffer.
Definition DisplayCircle.h:23