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