diff --git a/src/runner/instance.rs b/src/runner/instance.rs index b48db732..c81d874d 100644 --- a/src/runner/instance.rs +++ b/src/runner/instance.rs @@ -238,3 +238,15 @@ impl Script{ 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) + ) + } +}