示例#1
0
 public override Property[] ToPropertyArray()
 {
     return(new Property[] {
         new Property {
             Name = "EntityWidth", Value = EntityWidth.ToString()
         },
         new Property {
             Name = "EntityHeight", Value = EntityHeight.ToString()
         },
     });
 }
示例#2
0
 public EntitySize(EntityWidth _width, EntityHeight _height)
 {
     Width  = _width;
     Height = _height;
 }