public static void Create( object source, ContextMenuArgs e ) { EntityCreationProperties buildproperties = new EntityCreationProperties( e.MouseX, e.MouseY ); FractalSplineCylinder newentity = new FractalSplineCylinder(); buildproperties.WriteToEntity( newentity, "Cylinder" ); MetaverseClient.GetInstance().worldstorage.AddEntity(newentity); }
public static void Create(object source, ContextMenuArgs e) { EntityCreationProperties buildproperties = new EntityCreationProperties(e.MouseX, e.MouseY); FractalSplineCylinder newentity = new FractalSplineCylinder(); buildproperties.WriteToEntity(newentity, "Cylinder"); MetaverseClient.GetInstance().worldstorage.AddEntity(newentity); }