Ejemplo n.º 1
0
 public virtual void FromBZWObject(BZFlag.Map.Elements.Shapes.PhaseableObject obj)
 {
     Name = obj.Name;
     SetupFromPoisitionalbe(obj);
     Attributes   = obj.Attributes;
     Passable     = obj.Passable;
     DriveThrough = obj.DriveThrough;
     ShootThrough = obj.ShootThrough;
     Ricochet     = obj.Ricochet;
     GUID         = obj.GUID;
 }
Ejemplo n.º 2
0
    protected virtual BZFlag.Map.Elements.Shapes.PhaseableObject OutputToPhaseable(BZFlag.Map.Elements.Shapes.PhaseableObject obj)
    {
        OutputToPoisitionalbe(obj);
        obj.Attributes = Attributes;
        obj.GUID       = GUID;

        obj.Passable     = Passable;
        obj.DriveThrough = DriveThrough;
        obj.ShootThrough = ShootThrough;
        obj.Ricochet     = Ricochet;

        return(obj);
    }