//public override static Entity operator=( Entity ent1 ) //{ // return new Entity(); // } // used to get a list of properties of this class, eg for properties dialog public virtual void RegisterProperties( IPropertyController propertycontroller ) { propertycontroller.RegisterStringProperty( "Name", name, 64, new SetStringPropertyHandler( SetName ) ); }
//public override static Entity operator=( Entity ent1 ) //{ // return new Entity(); // } // used to get a list of properties of this class, eg for properties dialog public virtual void RegisterProperties(IPropertyController propertycontroller) { propertycontroller.RegisterStringProperty("Name", name, 64, new SetStringPropertyHandler(SetName)); }
public void RegisterProperties(IPropertyController propertycontroller) { propertycontroller.RegisterStringProperty("Name", name, 64, new SetStringPropertyHandler(SetName)); propertycontroller.RegisterIntProperty("Hollow", hollow, 0, 200, new SetIntPropertyHandler(SetHollow)); }