cObject.Create.box(bla)
cObject.Create.sphere(bla)
cObject.Create.cilinder(bla)
Here is the pseudo code:
public class cObject { public Create Create = new Create(); class Create { public void box(object obj) { // your drawing code here } public void sphere(object obj) { // your drawing code here } public void cylinder(object obj) { // your drawing code here } } }
You would then access it through the following code:
cObject temp = new cObject();temp.Create.box(blah);temp.Create.sphere(blah);temp.Create.cylinder(blah);