public Effects() { page = 0; duration = 1; fadeMode = fadeMode.none; cameraEffects = new CamEffects(); }
public bool update(int pej, float durat, fadeMode fm, CamEffects camfx) { try { this.page = pej; this.duration = durat; this.fadeMode = fm; this.cameraEffects = camfx; return(true); } catch (System.Exception) { return(false); } }
public Effects(int pej, float durat, fadeMode fm, CamEffects camfx) { update(pej, durat, fm, camfx); }