private bool ForceDeleteFxData() { if (ActiveFx == null || FxDataIndex < 0 || FxDataIndex >= ActiveFx.FxDataCount) { return(false); } ActiveFx.DeleteFxData(FxDataIndex); ChangesMade = true; return(true); }
private bool ForceAddFxData(int doorIndex) { if (ActiveRoom == null || ActiveFx == null || doorIndex < -1 || doorIndex >= ActiveRoom.MyIncomingDoors.Count) { return(false); } if (doorIndex == -1) { ActiveFx.AddFxData(null); } else { ActiveFx.AddFxData(ActiveRoom.MyIncomingDoors.ToList() [doorIndex]); } ChangesMade = true; return(true); }