lol idk #1

Open
Quaternions wants to merge 826 commits from StrafesNET/strafe-project:master into master
Showing only changes of commit 748f544a4b - Show all commits

View File

@ -112,6 +112,12 @@ impl Instance{
Ok(())
})
});
fields.add_field_method_get("ClassName",|lua,this|{
dom(lua,|dom|{
let instance=this.get(dom)?;
Ok(instance.class.clone())
})
});
}
fn composition_add_methods<'lua,T:Referent,M:mlua::UserDataMethods<'lua,T>>(methods:&mut M){
methods.add_method("GetChildren",|lua,this,_:()|