public UpdateState(float elapsedTime, int GlobalID, int RegisterID, UpdateRegister register) { this.GlobalUpdateID = GlobalID; this.RegisterUpdateID = RegisterID; this.elapsedTime = elapsedTime; this.register = register; }
public static void addUpdateRegister(UpdateRegister register) { if (checkIfRegisterExists(register.tag)) throw new Exception("There already exists a register with the tag \"" + register.tag + "\" in the UpdateManager."); updatedList.Add(register); }
public static void addUpdateRegister(UpdateRegister register) { if (checkIfRegisterExists(register.tag)) { throw new Exception("There already exists a register with the tag \"" + register.tag + "\" in the UpdateManager."); } updatedList.Add(register); }