This commit is contained in:
Quaternions 2024-10-03 18:04:52 -07:00
parent 6ec0d61b3d
commit 9d219004f4

View File

@ -238,3 +238,15 @@ impl Script{
Ok((get_full_name(&context.dom,instance),source)) Ok((get_full_name(&context.dom,instance),source))
} }
} }
class!(Terrain);
class_composition!(Terrain,(Instance,Terrain));
impl Terrain{
fn composition_add_fields<'lua,T:Referent,F:mlua::UserDataFields<'lua,T>>(fields:&mut F){
}
fn composition_add_methods<'lua,T,M:mlua::UserDataMethods<'lua,T>>(methods:&mut M){
methods.add_method("FillBlock",|lua,this,_:(super::cframe::CFrame,Vector3,super::r#enum::Enum)|
Ok(())//Ok(mlua::Value::Nil)
)
}
}