Beispiel #1
0
 //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 ) );
 }
Beispiel #2
0
        //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));
        }
Beispiel #3
0
 public void RegisterProperties(IPropertyController propertycontroller)
 {
     propertycontroller.RegisterStringProperty("Name", name, 64, new SetStringPropertyHandler(SetName));
     propertycontroller.RegisterIntProperty("Hollow", hollow, 0, 200, new SetIntPropertyHandler(SetHollow));
 }