public DecorationFacade() { Field.InterpolationWait = false; Field.OnValueAdded += delegate(int whichRoom, int which) { DecorationFacade decorationFacade = this; Field.InterpolationWait = false; Field.FieldDict[whichRoom].fieldChangeEvent += delegate(NetInt field, int oldValue, int newValue) { decorationFacade.changed(whichRoom, newValue); }; changed(whichRoom, which); }; }
public void Set(DecorationFacade other) { Field.Set(other.Field.Pairs); }