mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-01 09:18:00 +03:00
More cleanup.
This commit is contained in:
parent
15da537331
commit
7300193b47
2 changed files with 18 additions and 32 deletions
|
@ -11,6 +11,7 @@ void GameScriptSkyLayer::Register(sol::state* lua)
|
|||
{
|
||||
lua->new_usertype<GameScriptSkyLayer>("SkyLayer",
|
||||
sol::constructors<GameScriptSkyLayer(GameScriptColor const &, short)>(),
|
||||
|
||||
/// (@{Color}) RGB sky color
|
||||
//@mem color
|
||||
"color", sol::property(&GameScriptSkyLayer::SetColor),
|
||||
|
@ -37,9 +38,7 @@ Less is more. City of The Dead, for example, uses a speed value of 16.
|
|||
*/
|
||||
GameScriptSkyLayer::GameScriptSkyLayer(GameScriptColor const& col, short speed)
|
||||
{
|
||||
R = col.GetR();
|
||||
G = col.GetG();
|
||||
B = col.GetB();
|
||||
SetColor(col);
|
||||
CloudSpeed = speed;
|
||||
Enabled = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue