Commit 24e1079b authored by Amanda Ghassaei's avatar Amanda Ghassaei

eod

parent 1477598b
......@@ -3,26 +3,35 @@
*/
define(['materials'], function(){
define(['materials'], function(materials){
return {
init: function(){
init: function(json){//create a new material
return materials.newMaterial(json);//return DMAMaterial object
},
destroy: function(material){
materials.deleteMaterial(material.getID());
},
getMaterialForId: function(id){
return materials.getMaterialForId(id);
},
set: function(){
getMaterials: function(){
},
bulkChangeMaterial: function(startMaterial, endMaterial){
getCompositeMaterials: function(){
},
destroy: function(){
bulkChangeMaterial: function(startMaterial, endMaterial){
}
}
});
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment